Make Intent class creation more intuitive

This commit is contained in:
Rapptz
2020-09-24 09:00:07 -04:00
parent dc6e9e7fd6
commit e4d7f44aa5
3 changed files with 15 additions and 11 deletions

View File

@ -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']