mirror of
https://github.com/MelisaDev/melisa.git
synced 2024-11-11 19:07:28 +03:00
melisa requires python version >= 3.9
This commit is contained in:
parent
efbfa4c6af
commit
bd3c67d107
1 changed files with 3 additions and 2 deletions
|
@ -83,11 +83,12 @@ class Client:
|
|||
|
||||
if isinstance(intents, Iterable):
|
||||
self.intents = sum(intents)
|
||||
|
||||
if intents is None:
|
||||
elif intents is None:
|
||||
self.intents = (
|
||||
Intents.all() - Intents.GUILD_PRESENCES - Intents.GUILD_MEMBERS
|
||||
)
|
||||
else:
|
||||
self.intents = intents
|
||||
|
||||
self._token = token
|
||||
|
||||
|
|
Loading…
Reference in a new issue