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)