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.
- Host: GitHub
- URL: https://github.com/upils/dankmemes
- Owner: upils
- Created: 2017-04-01T21:04:44.000Z (over 9 years ago)
- Default Branch: master
- Last Pushed: 2018-10-14T16:43:31.000Z (over 7 years ago)
- Last Synced: 2025-04-14T08:52:25.085Z (about 1 year ago)
- Topics: bot, discord, memes
- Language: Python
- Homepage:
- Size: 17.6 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
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
```