animated key is never given to reaction_remove(_emoji)

This commit is contained in:
NCPlayz
2020-04-06 04:58:27 -04:00
committed by Rapptz
parent c782ac3254
commit c8f32f3151
2 changed files with 5 additions and 5 deletions
+2 -2
View File
@@ -88,8 +88,8 @@ class PartialEmoji(_EmojiTag):
return o
@classmethod
def with_state(cls, state, *, animated, name, id=None):
self = cls(animated=animated, name=name, id=id)
def with_state(cls, state, *, name, animated=False, id=None):
self = cls(name=name, animated=animated, id=id)
self._state = state
return self