Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/ooliver1/bot-template
A bot template for nextcord bots https://github.com/nextcord/nextcord
https://github.com/ooliver1/bot-template
bot-template discord discord-bot discord-py docker docker-compose nextcord nextcord-py poetry poetry-python python python3 template
Last synced: about 1 month ago
JSON representation
A bot template for nextcord bots https://github.com/nextcord/nextcord
- Host: GitHub
- URL: https://github.com/ooliver1/bot-template
- Owner: ooliver1
- License: mit
- Created: 2022-02-04T21:13:15.000Z (almost 3 years ago)
- Default Branch: master
- Last Pushed: 2023-08-07T01:35:41.000Z (over 1 year ago)
- Last Synced: 2024-05-01T16:49:56.080Z (8 months ago)
- Topics: bot-template, discord, discord-bot, discord-py, docker, docker-compose, nextcord, nextcord-py, poetry, poetry-python, python, python3, template
- Language: Python
- Homepage: https://nextcord.gay
- Size: 576 KB
- Stars: 3
- Watchers: 2
- Forks: 0
- Open Issues: 5
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# bot-template
A bot template for [nextcord](https://github.com/nextcord/nextcord) bots.
## Features
- Uses [my botbase](https://github.com/ooliver1/botbase) to reduce boilerplate
- Uses [docker](https://www.docker.com) for consistent environments - [python 3.11 + slim Debian Bullseye](https://github.com/docker-library/python/blob/331890ef059fae05f84c652520b78c340526dc71/3.11/slim-bullseye/Dockerfile)
- Creates the `logs` structure for the botbase for you
- Creates the bot structure inside of a module to remove bot source from getting lost in the top level
- Uses poetry for less painful dependency management
- Uses [uvloop](https://github.com/MagicStack/uvloop) and `[speed]` for a faster aiohttp client and faster asyncio event loop
- Uses a Bot subclass to reduce the need for refactoring
- Only sets guilds intent to encourage granular intents selection
- Uses pre-commit for linting, specifically [black](https://github.com/psf/black), [isort](https://github.com/PyCQA/isort), and [ruff](https://github.com/charliermarsh/ruff).