|
7 | 7 | First, you need to create a new application in the [Discord Developer Portal](https://discord.com/developers/applications). |
8 | 8 |
|
9 | 9 | 1. New Application |
10 | | -  |
| 10 | +  |
11 | 11 |
|
12 | 12 | 2. Installation Tab |
13 | 13 |
|
14 | | - Only allow Guild Installs and set Intsall link to `none` |
| 14 | + Only allow Guild Installs and set Intsall link to `none` |
15 | 15 |
|
16 | | -  |
| 16 | +  |
17 | 17 |
|
18 | 18 | 3. Oauth Tab |
19 | 19 |
|
20 | | -  |
| 20 | +  |
| 21 | + - Update the Redirect URL to your `WEB_DOMAIN` URL, which can be found in `INSTALL_DIR/overlays/config/api-config.env`. |
| 22 | + - Update the `INSTALL_DIR/overlays/local-secrets/discord-secrets.env`, you need to update both the `DISCORD_CLIENT_ID` and `DISCORD_CLIENT_SECRET`. |
21 | 23 |
|
22 | | - * Update the Redirect URL to your `WEB_DOMAIN` URL, which can be found in `INSTALL_DIR/overlays/config/api-config.env`. |
23 | | - * Update the `INSTALL_DIR/overlays/local-secrets/discord-secrets.env`, you need to update both the `DISCORD_CLIENT_ID` and `DISCORD_CLIENT_SECRET`. |
| 24 | +4. Bot Tab |
| 25 | + 1. You will need to reset the bot token to get a new one. |
24 | 26 |
|
25 | | -4. Bot Tab |
| 27 | +  |
26 | 28 |
|
27 | | - 1. You will need to reset the bot token to get a new one. |
| 29 | + In the file `INSTALL_DIR/overlays/local-secrets/discord-secrets.env`, you need to update the `DISCORD_BOT_TOKEN`. |
| 30 | + 2. Disable Public Bot |
28 | 31 |
|
29 | | -  |
| 32 | +  |
30 | 33 |
|
31 | | - In the file `INSTALL_DIR/overlays/local-secrets/discord-secrets.env`, you need to update the `DISCORD_BOT_TOKEN`. |
32 | | - |
33 | | - 2. Disable Public Bot |
34 | | - |
35 | | -  |
36 | 34 | 5. Update the Panel |
37 | 35 |
|
38 | 36 | See [Update Guide](/updating) for instructions on updating the panel. |
39 | 37 |
|
40 | | -6. Invite the Bot to your Server |
| 38 | +6. Invite the Bot to your Server |
41 | 39 |
|
42 | 40 | The Discord Bot can only be invited to a server by an administrator, and it can be accessed at the `WEB_DOMAIN` URL: `https://<WEB_DOMAIN>/discord-bot`. |
43 | | - |
0 commit comments