fix: fixed nothing being output if bot fails to find emoji
This commit is contained in:
parent
dab65b2794
commit
1ff1b7a6d0
1 changed files with 1 additions and 1 deletions
|
@ -135,7 +135,7 @@ class Galaxy(commands.Cog):
|
|||
if emoji_to_find:
|
||||
emoji_obj = emoji_to_find
|
||||
break
|
||||
if emoji_obj is None:
|
||||
else:
|
||||
await interaction.response.send_message(content=f"You're trying to set the coco emoji to an emoji I don't have access to!\n{emoji_id}", ephemeral=True)
|
||||
return
|
||||
await self.config.guild(interaction.guild).cocoemoji.set(emoji_obj.id)
|
||||
|
|
Loading…
Reference in a new issue