A Discord bot that converts image to ASCII art
- Make sure you have nodejs installed.
- Install the dependencies :
npm install - Make sure you have your tokens set as environnement variables.
DISCORD_TOKENfor the bot tokenCLIENT_IDfor the client id of the bot
- Create an .env file containing these tokens in the format
KEY=VALUE
DISCORD_TOKEN=[BOT TOKEN]
CLIENT_ID=[BOT CLIENT ID]
- Run the project by running this command :
npm start
- Build the image by running :
docker build -t ascii-bot . -f .\docker\Dockerfile
- Run the image :
docker run --env-file .env ascii-bot