Discord bot for the DF Spigotifier discord server
-
Clone the repository and open the terminal, then type:
pip install -r requirements.txt
(make sure you have pip and python installed and that you are in the correct directory)
-
Make a
.env
file and in it type:TOKEN=<your bot token> GH_TOKEN=<your github token>
- Github api key is OPTIONAL, it is used to not get ratelimited. If you do not want to use it, dont put it in the .env file.
(If you don't know how to make a discord bot read this)
(If you don't know how to get a github token read this)
-
Run the bot with:
py bot.py
-
You should see that the bot is online and ready to go.
Never share your .env file!!
If you added a new library and you dont know how requirement.txt works, you can run
pip install pipreqs
pipreqs --encoding utf-8 .
(Make sure you are in the correct directory)