fixing Python 3.9 compat with object's getstate

This commit is contained in:
Frisk 2024-08-29 19:49:26 +02:00
parent 482fa31929
commit a0e3c9ca75

View file

@ -240,7 +240,7 @@ class StackedDiscordMessage:
obj_copy = self.__dict__.copy()
del obj_copy['wiki']
return obj_copy
return super().__getstate__()
return self.__dict__
def is_empty(self):
return len(self.message_list) == 0