From 5c0f74a08d566554a735807b3df10b5e726b0258 Mon Sep 17 00:00:00 2001 From: SeaswimmerTheFsh Date: Fri, 18 Aug 2023 16:39:22 -0400 Subject: [PATCH] fix(issues): testing possible fix for submit_issue_request --- issues/issues.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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: