No description
Find a file
Evann Regnault 3589b72c11
Some checks failed
continuous-integration/drone Build is failing
Drone support
2025-03-09 15:54:46 +01:00
.github/workflows Update .github/workflows/main.yml 2024-03-31 15:45:54 +00:00
src v1.2.0 Added Case of user not having DMs Open 2023-12-09 20:59:50 +01:00
translations Update translations/en.json 2024-05-18 13:05:11 +00:00
.dockerignore First Version 2023-11-24 02:10:05 +01:00
.drone.yml Drone support 2025-03-09 15:54:46 +01:00
.gitignore First Version 2023-11-24 02:10:05 +01:00
Cargo.toml Update Cargo.toml 2024-05-18 13:06:07 +00:00
Dockerfile First Version 2023-11-24 02:10:05 +01:00
README.md v1.2.0 Added Case of user not having DMs Open 2023-12-09 20:59:50 +01:00

Captchuccino

A Self-Hosted Discord bot that adds a captcha to gatekeep a discord server

Environment Variables

To run this project, you will need to add the following environment variables to your .env file

DISCORD_TOKEN : The token you'll use to run this bot.

LANG : The locale that the bot will use, either fr or en for now.

GUILD_ID : The ID of the server the bot will run in.

ROLE_ID : The ID of the Unverified role on your server.

BOT_CHANNEL_ID : The ID of the bot channel for logging messages

Deployment

⚠️ The bot needs to have the SERVER MEMBERS INTENT enabled in the developper dashboard.

Get the docker image from my registry

  docker pull r.regnault.dev/captchuccino:latest

Launch the docker image with environment variables

  docker run r.regnault.dev/captchuccino:latest \
    -e DISCORD_TOKEN=<TOKEN> \
    -e LANG=<LANG> \
    -e GUILD_ID=<GUILD_ID> \
    -e ROLE_ID=<ROLE_ID> \
    -e BOT_CHANNEL_ID=<BOT_CHANNEL_ID>