Fix typos in Intents documentation

This commit is contained in:
Sebastian Law
2020-09-23 21:17:37 -07:00
committed by GitHub
parent 0ebf5b2fa7
commit 2974663367
2 changed files with 13 additions and 9 deletions

View File

@ -21,7 +21,7 @@ For example, if you want a bot that functions without spammy events like presenc
.. code-block:: python3
import discord
intents = Intents(typing=False, presences=False)
intents = discord.Intents(typing=False, presences=False)
Note that this doesn't enable :attr:`Intents.members` since it's a privileged intent.
@ -65,12 +65,16 @@ Do I need privileged intents?
This is a quick checklist to see if you need specific privileged intents.
.. _need_presence_intent:
Presence Intent
+++++++++++++++++
- Whether you use :attr:`Member.status` at all to track member statuses.
- Whether you use :attr:`Member.activity` or :attr:`Member.activities` to check member's activities.
.. _need_members_intent:
Member Intent
+++++++++++++++