Add warning if guilds intent is disabled.
This commit is contained in:
parent
1ebb52b139
commit
bf42cf7232
@ -139,6 +139,9 @@ class ConnectionState:
|
|||||||
else:
|
else:
|
||||||
intents = Intents.default()
|
intents = Intents.default()
|
||||||
|
|
||||||
|
if not intents.guilds:
|
||||||
|
log.warning('Guilds intent seems to be disabled. This may cause state related issues.')
|
||||||
|
|
||||||
try:
|
try:
|
||||||
chunk_guilds = options['fetch_offline_members']
|
chunk_guilds = options['fetch_offline_members']
|
||||||
except KeyError:
|
except KeyError:
|
||||||
|
Loading…
x
Reference in New Issue
Block a user