diff options
| author | 2021-03-14 21:51:38 +0000 | |
|---|---|---|
| committer | 2021-03-14 21:51:38 +0000 | |
| commit | 4fc4d1c0d0303ec7c207165bd812aeb1387e58ac (patch) | |
| tree | 7983b351326319349ad801ff7584c5217c673080 | |
| parent | fix: minor spelling correction (diff) | |
fix: more minor spelling/grammar corrections
| -rw-r--r-- | bot/resources/tags/intents.md | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/bot/resources/tags/intents.md b/bot/resources/tags/intents.md index 0e94520a8..6a282bc17 100644 --- a/bot/resources/tags/intents.md +++ b/bot/resources/tags/intents.md @@ -1,8 +1,8 @@ **Using intents in discord.py** -Intents are a feature of Discord that tells the gateway exactly which events to send your bot. By default discord.py has all intents enabled, except for the `Members` and `Presences` intents, which are needed for events such as `on_member` and to get members' statuses. +Intents are a feature of Discord that tells the gateway exactly which events to send your bot. By default, discord.py has all intents enabled, except for the `Members` and `Presences` intents, which are needed for events such as `on_member` and to get members' statuses. -To enable one of these intents you need to first go to the [Discord developer portal](https://discord.com/developers/applications), then to the bot page of your bot's application. Scroll down to the `Privileged Gateway Intents` section, and enable the intents that you need. +To enable one of these intents, you need to first go to the [Discord developer portal](https://discord.com/developers/applications), then to the bot page of your bot's application. Scroll down to the `Privileged Gateway Intents` section, then enable the intents that you need. Next, in your bot you need to set the intents you want to connect with in the bot's constructor using the `intents` keyword argument, like this: |