https://github.com/zalk0/chouettebot-discord
Discord bot project using discord.py with fun and useful commands
https://github.com/zalk0/chouettebot-discord
bot discord discord-bot discordpy discordpy-bot python
Last synced: 8 months ago
JSON representation
Discord bot project using discord.py with fun and useful commands
- Host: GitHub
- URL: https://github.com/zalk0/chouettebot-discord
- Owner: Zalk0
- License: mit
- Created: 2022-04-15T13:43:23.000Z (about 4 years ago)
- Default Branch: main
- Last Pushed: 2025-02-10T20:16:31.000Z (over 1 year ago)
- Last Synced: 2025-02-10T21:25:34.742Z (over 1 year ago)
- Topics: bot, discord, discord-bot, discordpy, discordpy-bot, python
- Language: Python
- Homepage:
- Size: 392 KB
- Stars: 1
- Watchers: 1
- Forks: 1
- Open Issues: 4
-
Metadata Files:
- Readme: README.md
- Contributing: CONTRIBUTING.md
- License: LICENSE
Awesome Lists containing this project
README
# ChouetteBot-discord

[](https://github.com/Zalk0/ChouetteBot-discord/actions/workflows/ruff.yaml)
[](https://results.pre-commit.ci/latest/github/Zalk0/ChouetteBot-discord/main)
Just some random project of doing a Discord bot using
[discord.py](https://github.com/Rapptz/discord.py).
You need to have Python 3.9 or higher installed!
Clone the projet and install the requirements (preferably in a
[venv](https://packaging.python.org/en/latest/guides/installing-using-pip-and-virtual-environments)):
```bash
git clone git@github.com:Zalk0/ChouetteBot-discord.git
cd ChouetteBot-discord
pip install -r requirements.txt
```
---
Before launching the bot, you need to fill in a `.env` file (using the
[template](https://github.com/Zalk0/ChouetteBot-discord/blob/main/.env.example)
I provide in the repo) and put a Discord bot token inside.
To have one, go to the
[Discord Developer Portal](https://discord.com/developers) 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 :
```bash
python -m chouette
```
---
## Contribution
Please check the [contributing guide](CONTRIBUTING.md) if you would like to participate in the project.
---
## Docker
[](https://github.com/Zalk0/ChouetteBot-discord/actions/workflows/docker-image.yaml)
[](https://hub.docker.com/r/gylfirst/chouettebot)
You can use a Docker image to deploy the bot.
It's currently supporting amd64, armv6, armv7 and arm64 architectures.
We provide deployment information on the
[Docker Hub repository](https://hub.docker.com/r/gylfirst/chouettebot).
You can build it from source with:
```bash
docker build .
# or
docker build --build-arg version=tag -t app:tag .
```
(see [Docker Build CLI Options](https://docs.docker.com/reference/cli/docker/image/build/#options)
to get more info)