From 1ff1b7a6d087cc665df083dc7b1171a64c0c4101 Mon Sep 17 00:00:00 2001 From: SeaswimmerTheFsh Date: Tue, 8 Aug 2023 11:01:50 -0400 Subject: [PATCH] fix: fixed nothing being output if bot fails to find emoji --- galaxy/galaxy.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/galaxy/galaxy.py b/galaxy/galaxy.py index 5acd349..31ced39 100644 --- a/galaxy/galaxy.py +++ b/galaxy/galaxy.py @@ -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)