diff --git a/galaxy/galaxy.py b/galaxy/galaxy.py index dc5a764..5acd349 100644 --- a/galaxy/galaxy.py +++ b/galaxy/galaxy.py @@ -130,7 +130,11 @@ class Galaxy(commands.Cog): await interaction.response.send_message(embed=embed) else: emoji_id = self.extract_id(input_string=emoji) - emoji_obj = self.bot.get_emoji(emoji_id) + for guild in self.bot.guilds: + emoji_to_find = discord.utils.get(guild.emojis, id=emoji_id) + if emoji_to_find: + emoji_obj = emoji_to_find + break if emoji_obj is None: 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