fix(issues): awaited a corotuine
Some checks failed
Gitea Actions Demo / Explore-Gitea-Actions (push) Failing after 3s

This commit is contained in:
Seaswimmer 2023-08-18 17:24:15 -04:00
parent 3cc3245c8b
commit 6ca3e914b1
No known key found for this signature in database
GPG key ID: 5019678FD9CF50D8

View file

@ -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)