mirror of
https://github.com/Rapptz/discord.py.git
synced 2025-05-14 17:59:48 +00:00
Update intent documentation to use defaults
This commit is contained in:
parent
1066f42f1f
commit
022b5f7902
@ -157,7 +157,7 @@ For example:
|
|||||||
.. code-block:: python3
|
.. code-block:: python3
|
||||||
|
|
||||||
import discord
|
import discord
|
||||||
intents = discord.Intents()
|
intents = discord.Intents.default()
|
||||||
intents.members = True
|
intents.members = True
|
||||||
|
|
||||||
# Somewhere else:
|
# Somewhere else:
|
||||||
|
Loading…
x
Reference in New Issue
Block a user