Discord.py Bot Template
This page provides a starter template for building and hosting Discord.py bots on Cytric.nl. You can use this template to quickly set up your bot and deploy it to GitHub and Cytric.Features
- Python 3.8+
- Discord.py library
- Ready for deployment to Cytric
- Example GitHub Actions workflow
Example Bot Code
Deploy to GitHub
Use our official template: Cytric-Bot-Template-PY- Fork or clone the template repository.
- Add your bot token as a GitHub secret named
DISCORD_TOKEN. - Push your code changes to GitHub.
Example GitHub Actions Workflow
Create.github/workflows/deploy.yml: