- Python 3.6 and up - https://www.python.org/downloads/
- git - https://git-scm.com/download/
Keep this saved somewhere, as this is the docs to discord.py. All you need to know about the library is defined inside here, even code that I don't use in this example is here.
- Make a bot here and grab the token
-
config.json fill in the required spots
-
To install what you need, do pip install -r requirements.txt
(If that doesn't work, do python -m pip install -r requirements.txt)
NOTE: Use pip install with Administrator/sudo
-
Start the bot by having the cmd/terminal inside the bot folder and type python index.py
-
You're done
Q: I don't see my bot on my server!
A: Invite it by using this URL: https://drapaiton.github.io/DiscordTemplateBot/
you need the bot client id, go backwards
- Heroku as a Hosting Platform
Flake8 is a tool that helps you keep your code clean. Most coding softwares will have a plugin that supports this Python module so it can be integrated with your IDE. To install it, simply do pip install flake8
. If you're using python 3.7, install by doing pip install -e git+https://gitlab.com/pycqa/flake8#egg=flake8
You can host it on Heroku for free (account verification required).
You can run this on Repl.it! Make sure to setup config.json in the way stated above.