Update intent documentation to use defaults
This commit is contained in:
@ -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:
|
||||||
|
Reference in New Issue
Block a user