Update intent documentation to use defaults
This commit is contained in:
parent
1066f42f1f
commit
022b5f7902
@ -157,7 +157,7 @@ For example:
|
||||
.. code-block:: python3
|
||||
|
||||
import discord
|
||||
intents = discord.Intents()
|
||||
intents = discord.Intents.default()
|
||||
intents.members = True
|
||||
|
||||
# Somewhere else:
|
||||
|
Loading…
x
Reference in New Issue
Block a user