From 8c2d290266ceaad5b0da83851a6e846b8d3a2197 Mon Sep 17 00:00:00 2001 From: SeaswimmerTheFsh Date: Tue, 8 Aug 2023 10:36:35 -0400 Subject: [PATCH] =?UTF-8?q?fix:=20I=20forgot=20to=20await=20a=20corotuine?= =?UTF-8?q?=20=F0=9F=92=80?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- galaxy/galaxy.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/galaxy/galaxy.py b/galaxy/galaxy.py index b7835ba..7646d18 100644 --- a/galaxy/galaxy.py +++ b/galaxy/galaxy.py @@ -103,7 +103,7 @@ class Galaxy(commands.Cog): if emoji: emoji_id = self.extract_id(input_string=emoji) try: - emoji_obj = interaction.guild.fetch_emoji(emoji_id) + emoji_obj = await interaction.guild.fetch_emoji(emoji_id) except discord.NotFound or discord.HTTPException as error: await interaction.response.send_message(content="You're trying to set the coco emoji to an emoji I don't have access to!", ephemeral=True) return