From bc9bc539670c7ebd6de4493b05916a6f69c8a669 Mon Sep 17 00:00:00 2001 From: SeaswimmerTheFsh Date: Wed, 8 May 2024 15:39:51 -0400 Subject: [PATCH] fix(emojiinfo): fixed another unboundlocal error --- emojiinfo/model.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/emojiinfo/model.py b/emojiinfo/model.py index 6660e46..b3c3449 100644 --- a/emojiinfo/model.py +++ b/emojiinfo/model.py @@ -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)