fix(emojiinfo): fixed another unboundlocal error

This commit is contained in:
Seaswimmer 2024-05-08 15:39:51 -04:00
parent 2b5a00f512
commit bc9bc53967
Signed by untrusted user: cswimr
GPG key ID: 5D671B5D03D65A7F

View file

@ -87,4 +87,4 @@ class PartialEmoji(discord.PartialEmoji):
emoji_group = dict_name
if k not in emoji_aliases:
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)