diff --git a/issues/issues.py b/issues/issues.py index cde417b..0fe639b 100644 --- a/issues/issues.py +++ b/issues/issues.py @@ -19,7 +19,7 @@ class Issues(commands.Cog): await interaction.response.send_message(content="Hello world!", view=self.IssueButtons(color), ephemeral=True) async def submit_issue_request(self, interaction: discord.Interaction, embed: discord.Embed): - channel = self.bot.get_channel(self.config.channel()) + channel = Issues.bot.get_channel(self.config.channel()) if channel is None: await interaction.response.send_message(content=f"The cog is misconfigured, please report this error.", ephemeral=True) try: