fix(emojiinfo): add a debug logging call

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

View file

@ -98,6 +98,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 interaction.followup.send("Please provide a valid emoji!")