Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/estyms/captchuccino

A discord bot that handles captcha approval
https://github.com/estyms/captchuccino

captcha discord rust self-hosted

Last synced: about 2 months ago
JSON representation

A discord bot that handles captcha approval

Awesome Lists containing this project

README

        

# 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](https://registry.regnault.dev)
```bash
docker pull r.regnault.dev/captchuccino:latest
```

Launch the docker image with environment variables

```bash
docker run r.regnault.dev/captchuccino:latest \
-e DISCORD_TOKEN= \
-e LANG= \
-e GUILD_ID= \
-e ROLE_ID= \
-e BOT_CHANNEL_ID=
```