mirror of
https://github.com/Rapptz/discord.py.git
synced 2026-11-20 13:29:03 +00:00
Make Intent class creation more intuitive
This commit is contained in:
1 parent
dc6e9e7fd6
commit
e4d7f44aa5
3 files changed
+15
-11
No files matched your search
+1
-1
@@ -137,7 +137,7 @@ class ConnectionState:
|
||||
if not isinstance(intents, Intents):
|
||||
raise TypeError('intents parameter must be Intent not %r' % type(intents))
|
||||
else:
|
||||
intents = Intents()
|
||||
intents = Intents.default()
|
||||
|
||||
try:
|
||||
chunk_guilds = options['fetch_offline_members']
|
||||
|
||||
Reference in new issue
Block a user