fix(issues): awaited a corotuine
Some checks failed
Gitea Actions Demo / Explore-Gitea-Actions (push) Failing after 3s
Some checks failed
Gitea Actions Demo / Explore-Gitea-Actions (push) Failing after 3s
This commit is contained in:
parent
3cc3245c8b
commit
6ca3e914b1
1 changed files with 1 additions and 1 deletions
|
@ -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)
|
||||
|
|
Loading…
Reference in a new issue