aboutsummaryrefslogtreecommitdiffstats
path: root/pydis_site/apps
diff options
context:
space:
mode:
authorGravatar Kim Kam <[email protected]>2025-02-14 22:56:23 +0800
committerGravatar Johannes Christ <[email protected]>2025-02-14 18:56:39 +0100
commite162645aed5af09154429eb8f1b3b53e358dcd74 (patch)
treec023aa0b7096fe33b09df5bcd65394313a124d18 /pydis_site/apps
parentdocs: update required privileged intents in bot.md (diff)
docs: include privileged intents in `setting-test-server-and-bot-account.md`
Diffstat (limited to 'pydis_site/apps')
-rw-r--r--pydis_site/apps/content/resources/guides/pydis-guides/contributing/setting-test-server-and-bot-account.md7
1 files changed, 5 insertions, 2 deletions
diff --git a/pydis_site/apps/content/resources/guides/pydis-guides/contributing/setting-test-server-and-bot-account.md b/pydis_site/apps/content/resources/guides/pydis-guides/contributing/setting-test-server-and-bot-account.md
index 43d1c8f5..e9555575 100644
--- a/pydis_site/apps/content/resources/guides/pydis-guides/contributing/setting-test-server-and-bot-account.md
+++ b/pydis_site/apps/content/resources/guides/pydis-guides/contributing/setting-test-server-and-bot-account.md
@@ -18,8 +18,11 @@ icon: fab fa-discord
4. Change your bot's `Public Bot` setting off so only you can invite it, save, and then get your **Bot Token** with the `Copy` button.
> **Note:** **DO NOT** post your bot token anywhere public, or it can and will be compromised.
5. Save your **Bot Token** somewhere safe to use in the project settings later.
-6. In the `OAuth2` tab, grab the **Client ID**.
-7. Replace `<CLIENT_ID_HERE>` in the following URL and visit it in the browser to invite your bot to your new test server.
+6. Scroll down to the `Privileged Gateway Intents` section and enable required intents.
+> For Sir Lancebot, you need to enable `Server Member Intent`. For Python Bot, you need to enable `Server Member Intent` and `Message Content Intent`.
+> Failure to do so will result in a `PrivilegedIntentsRequired` exception when you start the bot.
+7. In the `OAuth2` tab, grab the **Client ID**.
+8. Replace `<CLIENT_ID_HERE>` in the following URL and visit it in the browser to invite your bot to your new test server.
```plaintext
https://discordapp.com/api/oauth2/authorize?client_id=<CLIENT_ID_HERE>&permissions=8&scope=bot
```