A discord bot utilizing discord.py
Warning: This bot is made mainly for my specific server(s). No attempt is, or will ever be made to make installation or setup easier. This bot uses dev builds of discord.py and even Python itself.
Prerequisites:
- Python 3.6
- Python 3.6 is REQUIRED as this bot makes heavy use of the new string formatting.
- discord.py
- Latest development version
- Discord API app
- You'll need to create the bot account for the app if that wasn't obvious.
- Required for Imgur plugin:
- Required for xkcd plugin:
Setup:
- Download or clone the repo
- Edit
config/config.json
with the appropriate info and settings - Edit config files in
plugins/settings
with the appropriate settings- Do NOT edit files in the
db
folder yourself. They will be updated by the bot.
- Do NOT edit files in the
- Launch the bot via
python bot.py
orpython3 bot.py
depending on your system- If the bot can't create folders or files it'll complain because it needs to do that
- If you're on windows run the command
chcp 65001
before starting the bot else you'll get errors for days
- Set the admin log channels using the
admin_set
command in the channel you wish to log to- These channels are set per-server and will log only that server's kicks/bans/etc