Skip to content

Commit

Permalink
Update README.md
Browse files Browse the repository at this point in the history
  • Loading branch information
Inspirateur authored Sep 3, 2023
1 parent 11badf1 commit 53bea6c
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -11,13 +11,13 @@ The discord registration step is the same for all bot that you run yourself.

### Register Discord Application
- go to https://discordapp.com/developers/applications/ create your app
- add a User Bot to it and paste its Token in token.txt
- enable SERVER MEMBERS INTENT and MESSAGE CONTENT INTENT in the bot tab
- invite the bot with `https://discord.com/api/oauth2/authorize?client_id=CLIENT_ID&permissions=0&scope=bot%20applications.commands` replace CLIENT_ID with the Client ID of your app
- add a User Bot to it and paste its Token in `token.txt`
- enable `SERVER MEMBERS INTENT` and `MESSAGE CONTENT INTENT` in the bot tab
- invite the bot with `https://discord.com/api/oauth2/authorize?client_id=CLIENT_ID&permissions=0&scope=bot%20applications.commands` replace `CLIENT_ID` with the Client ID of your app

### Run it
- Clone the project wherever you want
- add the token.txt file at the root of the project
- add the `token.txt` file at the root of the project
- Install the necessary tools to compile Rust with https://rustup.rs/
- With a terminal positionned at the root of the project, run `cargo build --release` to build the project.
*Note: this will take a while because it's the first build you do, subsequent builds will be much faster*
Expand Down

0 comments on commit 53bea6c

Please sign in to comment.