melisa requires python version >= 3.9

This commit is contained in:
grey-cat-1908 2022-04-10 10:26:45 +03:00
parent efbfa4c6af
commit bd3c67d107

View file

@ -83,11 +83,12 @@ class Client:
if isinstance(intents, Iterable): if isinstance(intents, Iterable):
self.intents = sum(intents) self.intents = sum(intents)
elif intents is None:
if intents is None:
self.intents = ( self.intents = (
Intents.all() - Intents.GUILD_PRESENCES - Intents.GUILD_MEMBERS Intents.all() - Intents.GUILD_PRESENCES - Intents.GUILD_MEMBERS
) )
else:
self.intents = intents
self._token = token self._token = token