aboutsummaryrefslogtreecommitdiff
path: root/docs/intents.rst
diff options
context:
space:
mode:
authorRapptz <[email protected]>2020-10-03 01:42:50 -0400
committerRapptz <[email protected]>2020-10-03 01:42:50 -0400
commit022b5f7902b78890c4f63210887f841b4d01752e (patch)
tree459063dc429d80038ae3ea25ceb70175397403e6 /docs/intents.rst
parentAdd intents to event reference (diff)
downloaddiscord.py-022b5f7902b78890c4f63210887f841b4d01752e.tar.xz
discord.py-022b5f7902b78890c4f63210887f841b4d01752e.zip
Update intent documentation to use defaults
Diffstat (limited to 'docs/intents.rst')
-rw-r--r--docs/intents.rst2
1 files changed, 1 insertions, 1 deletions
diff --git a/docs/intents.rst b/docs/intents.rst
index cda81380..7f937658 100644
--- a/docs/intents.rst
+++ b/docs/intents.rst
@@ -157,7 +157,7 @@ For example:
.. code-block:: python3
import discord
- intents = discord.Intents()
+ intents = discord.Intents.default()
intents.members = True
# Somewhere else: