Just some random project of doing a Discord bot using
discord.py.
You need to have uv installed!
Clone the projet and sync the environment with uv:
git clone https://github.com/Zalk0/ChouetteBot-discord.git
cd ChouetteBot-discord
uv sync --no-devBefore launching the bot, you need to fill in a .env file (using the
template
I provide in the repo) and put a Discord bot token inside.
To have one, go to the
Discord Developer Portal and create a new application.
Go to the Bot section and click the Reset Token button, you can now claim the token.
You need to enable the message content and members Privileged Gateway Intents as I assume they're
enabled in the code (or change them).
You also have to fill the other fields in your .env file or else you're going to have errors.
After having done all this you can launch the bot :
uv run python -m chouettePlease check the contributing guide if you would like to participate in the project.
You can use a Docker image to deploy the bot. It's currently supporting amd64 and arm64 architectures. We provide deployment information on the Docker Hub repository.
You can build it from source with:
docker build .
# or
docker build --build-arg version=tag -t app:tag .(see Docker Build CLI Options to get more info)