animated key is never given to reaction_remove(_emoji)

This commit is contained in:
NCPlayz authored and Rapptz committed 2020-04-06 04:58:27 -04:00
1 parent c782ac3254
commit c8f32f3151
2 files changed
+5 -5

No files matched your search

+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