Necessary requirements to run the bot can be found in the requirements.txt file.
PTERODACTYL_API_KEY--> An API key created by the Pterodactyl panel you are using.BOT_TOKEN--> The Discord Bot token which can be generated here.
pip3 install -r requirements.txt
pip install -r requirements.txt
python3 main.py
python main.py
- In your Discord server, run this command:
c!maketableIgnore any TypeError that may show up in the terminal
- Next run this command to initialize the game:
c!initializeGame [counting_channel_ID]
- Optional: Configuring additional settings
Run
c!updateSettings [newID] [failBool] [newAuthorLoss] [newNumberLoss] [newProfit]
- newID --> New counting channel ID, if you don't want to change this, put the same ID you are already using.
- failBool --> Either true or false, true meaning the game will reset if someone messes up the count, false to continue the game after a fail.
- newAuthorLoss --> Integer value greater than 0, this is the amount of points which will be taken off if someone counts twice in a row.
- newNumberLoss --> Integer value greater than 0, this is the amount of points which will be taken off if someone counts the wrong number.
- newProfit --> Integer value greater than 0, this is the amount of points which will be added for a successful count.