Python Bot that will show the current CFX Status
- sudo apt install python3
- sudo apt install python3-pip
- pip install discord.py requests
- screen -S CFXStatusBot (if you get an error then do: sudo apt install screen)
- cd /folder-where-the-file-is-located/
- python status.py
Strg+A+D
to exit the screenscreen -r CFXStatusBot
to enter the screen againStrg+C
to stop the bot inside the screen
Please do not add the Comments in the config.json or you will break the script
{
"token": "MTA1NTYxNzA4OTk1MzU5", // Bot Token
"refresh_interval": 60, // Refresh interval in seconds
"channel_id": 112468829, // Channel ID where the Message will be sent
"edit_channel_name": true, // Set false if you don't want to edit the channel
"channel_name": "cfx-status" // Channel name that will be set after starting the Bot
}