fix(emojiinfo): oops lmao

This commit is contained in:
Seaswimmer 2024-05-17 00:57:30 -04:00
parent c9a47603a7
commit d95c9b3255
Signed by untrusted user: cswimr
GPG key ID: 5D671B5D03D65A7F

View file

@ -116,6 +116,7 @@ class EmojiInfo(commands.Cog):
try:
emoji: PartialEmoji = PartialEmoji.from_str(self, value=emoji)
string, emoji_url, = await self.get_emoji_info(emoji)
self.logger.verbose(f"Emoji:\n{string}")
except (IndexError, UnboundLocalError):
return await ctx.send("Please provide a valid emoji!")