PastInfinity is a Discord bot for keeping track of a sequence of numbers in a specific channel.
main.py- Main entry point containing all the bot commandsmessage_handler.py- Processing incoming messagedecorators.py- Wrapper functions for commandsdatabase.py- Functions database interactionsembeds.py- Custom embed templates for Discord messagesutilities.py- Constants and platform detectionsetup_logging.py- Enhanced terminal logging
docker-compose.yml and Dockerfile are there, because the bot hosted on my Synology NAS. utilities.py also has
platform detection functionality.
This project requires .env file which looks like this:
TOKEN=???
MYSQL_USER=???
MYSQL_PASSWORD=???
SYNOLOGY_IP=???.???.?.??Detailed command documentation can be found in config/info_template.md