a quick rust-based discord bot template
.gitea | ||
src | ||
.env | ||
.gitignore | ||
Cargo.lock | ||
Cargo.toml | ||
docker-compose.yaml | ||
Dockerfile | ||
LICENSE | ||
README.md |
${REPO_NAME}
${REPO_DESCRIPTION}
Getting started
- goto: Discord applicatoins and create an application.
- Next goto the "bot" tab on the left, and "Reset Token". KEEP THIS PRIVATE.
When are testing / deploying your bot put this token in the
.env
file. - Next decide what permissions your bot needs. Make sure to edit
intents
insrc/main.rs
to match this. When you are creating the invite link on discord.com you will have to select these permissions as well.