Skip to content

Latest commit

 

History

History
33 lines (21 loc) · 643 Bytes

README.md

File metadata and controls

33 lines (21 loc) · 643 Bytes

DankMemes bot

This is a very simple discord bot to allow users to easily post memes on the channel.

Memes are stored in the memes.txt file.

The bot uses discord.py.

To build the image :

docker build -t dankmeme .

To run the bot you have two solutions :

  • with one docker command :
docker run -d --rm --name dankmeme -e "DISCORD_KEY=API_KEY_TO_REPLACE" -v $PWD/memes.txt:/opt/app/memes.txt dankmeme:latest
  • with docker-compose. You will have to create a .env file with the line :
DISCORD_KEY=API_KEY_TO_REPLACE

Then, you can launch with :

./prod-build.sh