From 6ca3e914b127686ac5c912f1927ecadef61d5c20 Mon Sep 17 00:00:00 2001 From: SeaswimmerTheFsh Date: Fri, 18 Aug 2023 17:24:15 -0400 Subject: [PATCH] fix(issues): awaited a corotuine --- issues/issues.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/issues/issues.py b/issues/issues.py index b7a1e0b..b4ebd5c 100644 --- a/issues/issues.py +++ b/issues/issues.py @@ -28,7 +28,7 @@ class Issues(commands.Cog): await interaction.response.send_message(content="Hello world!", view=self.IssueButtons(color, self, interaction), ephemeral=True) async def submit_issue_request(self, interaction: discord.Interaction, original_interaction: discord.Interaction, embed: discord.Embed): - channel = self.bot.get_channel(self.config.request_channel()) + channel = self.bot.get_channel(await self.config.request_channel()) if channel is None: await original_interaction.edit_original_response(content="Command cancelled.", view=None) await interaction.response.send_message(content=f"The cog is misconfigured, please report this error.", ephemeral=True)