A small pluggable bot for Discord using discord.py.
If you have no clue what Discord is you can go here: https://discordapp.com/
Something something useful text
Some text to come here soon
Credentials are set through environment variables.
Name | Value | Type | Plugin |
---|---|---|---|
DISCOBOT_EMAIL | Discord email | Required | |
DISCOBOT_PASS | Discord password | Required | |
IMGFLIP_USER | ImgFlip username | Optional | meme.py |
IMGFLIP_PASS | ImgFlip password | Optional | meme.py |
Linux is currently the only tested environment.
The bot needs Python >= v3.5.1 to be able to run, due to the use of asyncio
.
It's recommended you also use a virtual environment when installing dependencies:
$ virtualenv -p python3.5 venv --always-copy
$ source ./venv/bin/activate
You also need to install all the requirements
$ pip install -r requirements.txt
Then run the bot:
$ python main.py
If you want to run your bot online 24/7 you might consider setting up a supervisor config. If you do end up using supervisor, it's worth noting you must set the credentials inside the config.
A sample supervisor config file can be found togheter with this repo.
The whole project is licensed under an MIT license.