Pass default intents if not explicitly given
This commit is contained in:
parent
27b224778b
commit
4c56e6da9c
@ -133,6 +133,8 @@ class ConnectionState:
|
||||
|
||||
if not intents.members and self._fetch_offline:
|
||||
raise ValueError('Intents.members has be enabled to fetch offline members.')
|
||||
else:
|
||||
intents = Intents()
|
||||
|
||||
cache_flags = options.get('member_cache_flags', None)
|
||||
if cache_flags is None:
|
||||
|
Loading…
x
Reference in New Issue
Block a user