2023-11-02 23:32:54 +00:00
|
|
|
# discord-bot-template
|
|
|
|
|
2023-11-02 23:35:08 +00:00
|
|
|
A quick rust-based discord bot template.
|
|
|
|
|
2023-11-03 00:20:15 +00:00
|
|
|
## 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.
|
|
|
|
|