animated key is never given to reaction_remove(_emoji)

This commit is contained in:
NCPlayz
2020-04-05 21:40:00 +01:00
committed by Rapptz
parent c782ac3254
commit c8f32f3151
2 changed files with 5 additions and 5 deletions

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