From 473e5c3165b007712bf77a0ccfbacc32999a5d70 Mon Sep 17 00:00:00 2001 From: SeaswimmerTheFsh Date: Fri, 18 Aug 2023 16:48:37 -0400 Subject: [PATCH] fix(issues): changed some config names --- issues/issues.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/issues/issues.py b/issues/issues.py index f0ef080..dff1054 100644 --- a/issues/issues.py +++ b/issues/issues.py @@ -9,7 +9,7 @@ class Issues(commands.Cog): self.bot = bot self.config = Config.get_conf(self, identifier=4285273314713, force_registration=True) self.config.register_global( - channel = None, + request_channel = None, gitea_url = None ) @@ -19,7 +19,7 @@ class Issues(commands.Cog): await interaction.response.send_message(content="Hello world!", view=self.IssueButtons(color, self), ephemeral=True) async def submit_issue_request(self, interaction: discord.Interaction, embed: discord.Embed): - channel = self.bot.get_channel(self.config.channel()) + channel = self.bot.get_channel(self.config.request_channel()) if channel is None: await interaction.response.send_message(content=f"The cog is misconfigured, please report this error.", ephemeral=True) try: