fix(emojiinfo): forgot to return early lol

This commit is contained in:
Seaswimmer 2024-05-08 14:46:28 -04:00
parent 537b2edafa
commit 59097b676d
Signed by: cswimr
GPG key ID: 5D671B5D03D65A7F

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