14 lines
550 B
Markdown
14 lines
550 B
Markdown
# discord-bot-template
|
|
|
|
A quick rust-based discord bot template.
|
|
|
|
## Getting started
|
|
* goto: [Discord applicatoins](https://discord.com/developers/applications) 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` in `src/main.rs`
|
|
to match this. When you are creating the invite link on discord.com you will
|
|
have to select these permissions as well.
|
|
|