Add EmojiInfo cog #27

Merged
cswimr merged 27 commits from emoji into main 2024-05-08 16:07:30 -04:00
Showing only changes of commit 59097b676d - Show all commits

View file

@ -63,6 +63,7 @@ class EmojiInfo(commands.Cog):
emoji_url = await self.fetch_twemoji(unicode_emoji=emoji.name) emoji_url = await self.fetch_twemoji(unicode_emoji=emoji.name)
except Exception: except Exception:
await ctx.send("Please provide a valid emoji!", ephemeral=ephemeral) await ctx.send("Please provide a valid emoji!", ephemeral=ephemeral)
return
else: else:
emoji_url = emoji.url emoji_url = emoji.url