fix(emojiinfo): fixed another unboundlocal error
This commit is contained in:
parent
2b5a00f512
commit
bc9bc53967
1 changed files with 1 additions and 1 deletions
|
@ -87,4 +87,4 @@ class PartialEmoji(discord.PartialEmoji):
|
||||||
emoji_group = dict_name
|
emoji_group = dict_name
|
||||||
if k not in emoji_aliases:
|
if k not in emoji_aliases:
|
||||||
emoji_aliases.append(k)
|
emoji_aliases.append(k)
|
||||||
return cls(name=value, animated=animated, id=emoji_id, group=emoji_group, aliases=emoji_aliases)
|
return cls(name=value, animated=False, id=None, group=emoji_group, aliases=emoji_aliases)
|
||||||
|
|
Loading…
Reference in a new issue