This is an advanced template to start to code your own and personalized discord bot in Python. It includes testing via mocking the Bot instance, pagination and more. This template also comes with production-ready commands like:
/ping
- Displays the bot's latency and uptime.
and admin commands like:
/msg send [channel] [content]
- Sends a message to a channel./exts unload [extension]
- Unloads an extension (a command).
There are also utils that can help you with your bot development such as pagination.
All you need to do is click on the Use this template button. When your repo is created, wait at least 20 seconds until the running action ends.
- .env for environment variables.
- Colorlog for colorful logging.
- Docker for container packaging.
- Poetry for dependency management.
- Pycord for creating discord bots.
- Pydantic for settings management.
- Pytest for writing powerful tests.
- pre-commit and flake8 for git hooks linting.
- Community Standards files.
- Issues and Pull Requests templates.
- Packages as Docker images.
- Releases with auto-generated release notes.
- Test, Build and Deploy GitHub workflows.
Distributed under the MIT License. See LICENSE for more information.
Rami Menai - @menai_rami - rami.menai@outlook.com