diff options
| author | NCPlayz <[email protected]> | 2020-04-05 21:40:00 +0100 |
|---|---|---|
| committer | Rapptz <[email protected]> | 2020-04-06 04:58:27 -0400 |
| commit | c8f32f31514475fe954fbcc1516e4798810f8e07 (patch) | |
| tree | 9c0d9426b2fd7a963af90e6e8d5842ca04b73383 /discord/partial_emoji.py | |
| parent | Update documentation on guild features to reflect Discord changes (diff) | |
| download | discord.py-c8f32f31514475fe954fbcc1516e4798810f8e07.tar.xz discord.py-c8f32f31514475fe954fbcc1516e4798810f8e07.zip | |
animated key is never given to reaction_remove(_emoji)
Diffstat (limited to 'discord/partial_emoji.py')
| -rw-r--r-- | discord/partial_emoji.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/discord/partial_emoji.py b/discord/partial_emoji.py index 6819d649..1089815e 100644 --- a/discord/partial_emoji.py +++ b/discord/partial_emoji.py @@ -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 |