Skip to content

Commit

Permalink
Updating instruction
Browse files Browse the repository at this point in the history
  • Loading branch information
AkimotoRyou authored Feb 14, 2022
1 parent 5a533cb commit 7f7fa90
Showing 1 changed file with 5 additions and 4 deletions.
9 changes: 5 additions & 4 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -33,10 +33,11 @@ This is a complete rewrite of previous version. This version of the bot use Repl
#### II. Preparing the source code

1. Copy your *[bot token](https://discordjs.guide/preparations/setting-up-a-bot-application.html#your-token)* from discord developer page.
2. Open `.env` file and paste your bot token right after the equal sign on `TOKEN=` and save the file. e.g. `TOKEN=YourBotTokenHere`
3. Copy your discord *[User ID](https://support.discordapp.com/hc/en-us/articles/206346498-Where-can-I-find-my-User-Server-Message-ID-)*.
4. Open `defaultConfig.json` file and paste your discord user id inside double quotes `""` character that are after `"ownerID":` and save the file. e.g. `"ownerID": "YourUserIdHere"`
1. Download latest source code [here](https://github.com/AkimotoRyou/ModMail/releases) and extract it.
2. Copy your *[bot token](https://discordjs.guide/preparations/setting-up-a-bot-application.html#your-token)* from discord developer page.
3. Open `.env` file and paste your bot token right after the equal sign on `TOKEN=` and save the file. e.g. `TOKEN=YourBotTokenHere`
4. Copy your discord *[User ID](https://support.discordapp.com/hc/en-us/articles/206346498-Where-can-I-find-my-User-Server-Message-ID-)*.
5. Open `defaultConfig.json` file and paste your discord user id inside double quotes `""` character that are after `"ownerID":` and save the file. e.g. `"ownerID": "YourUserIdHere"`

> Setting ownerID is recommend since it'll limit who can use critical *[commands](https://github.com/AkimotoRyou/ModMail#message-commands)*.
Expand Down

0 comments on commit 7f7fa90

Please sign in to comment.