An open API service indexing awesome lists of open source software.

https://github.com/upils/dankmemes

Discord bot to send memes on request.
https://github.com/upils/dankmemes

bot discord memes

Last synced: 2 months ago
JSON representation

Discord bot to send memes on request.

Awesome Lists containing this project

README

          

# 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](https://github.com/Rapptz/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
```