|
|
@@ -38,15 +38,18 @@ Bots **cannot** use invite links; they must be explicitly invited |
|
|
|
through the OAuth2 flow. |
|
|
|
|
|
|
|
1. Open your bot's application on the [Discord Applications Portal]. |
|
|
|
2. Retrieve the application's **Client ID**. |
|
|
|
2. Navigate to `OAuth2 URL Generator` and click on `Generate OAuth2 URL`. |
|
|
|
|
|
|
|
 |
|
|
|
 |
|
|
|
|
|
|
|
3. Create an OAuth2 authorization URL |
|
|
|
3. Select the permissions that you wish to assign your bot with. |
|
|
|
|
|
|
|
- `https://discordapp.com/oauth2/authorize?client_id=<CLIENT ID>&scope=bot` |
|
|
|
> [!NOTE] |
|
|
|
> This will assign the bot with a special "managed" role that no |
|
|
|
> one else can use. The permissions can be changed later in the |
|
|
|
> roles settings if you ever change your mind! |
|
|
|
|
|
|
|
4. Open the authorization URL in your browser. |
|
|
|
4. Open the generated authorization URL in your browser. |
|
|
|
5. Select a server. |
|
|
|
6. Click on authorize. |
|
|
|
|
|
|
|