A Python Discord bot
- Clone the repository using
git clone https://github.com/NotAtomicBomb/AtomBot - Rename
config-example.pytoconfig.py - Place your own bot token into
config.py - There is no need to modify
DEV_TOKENunless you are testing, in which case set it to 'DEV' - Keep the
Environmentvariable as 'PROD' unless usingDEV_TOKEN, in which case set it to 'DEV' - Install required dependencies using
pip install -r requirements.txt - Download and install MySQL from here
- Update the MySQL username and password in
config.pyto your MySQL credentials - Create a schema called
atombotin your MySQL database - Run
bot.py - Profit!
CLIENT_KEY_PTERO,APP_KEY_PTERO, andBASE_URLare used for commands related to Pterodactyl.CF_CLIENT_IDandCF_CLIENT_SECRETare also for Pterodactyl if the panel is behind Cloudflare.
I chose the BSD 3-Clause "New" or "Revised" license because it permits commercial use, modification, distribution, and private usage of the code. However, it provides limited liability and no warranty. It also requires the license and copyright notice to be included with the licensed material.
- If you encounter any issues during setup, feel free to open an issue on GitHub.