A discord bot made in the discord.py library for the Antistasi Ultimate Community.
Run [install].bat
or
pip install discord.py requests PyGithub python-a2s
Create a file to start the bot. This can be any file that will run the main.py file. In this case we're going to use .bat
Name this file [start].bat and inside of it place the code that will run main.py. Example: py main.py, python main.py
Create a python file called bot_token.py in the root folder and inside it add these 3 variables:
token = BOT_TOKEN # Replace with the bot token, as string
github_login = GITHUB_TOKEN # Replace with the github token, as string
debug = False # Keep as false unless you know exactly what this doesgithub_login can also be account login tuple ("account name", "password") but this is feature limited.
In order for the command /restart_bot to work, git needs to be installed.
A ton of slash commands to make life easier. Namely:
Github Integration - Allows admins to create issues, create or merge pull requests, list all open issues/pulls in a repo, etc.
Server integration - The bot can recieve and parse webhook messages formatted by the companion server mod that utilises Pythia.

