From 3cc3245c8b6ec7cfaa7bc9ad3ac80a6980b70923 Mon Sep 17 00:00:00 2001 From: SeaswimmerTheFsh Date: Fri, 18 Aug 2023 17:21:12 -0400 Subject: [PATCH] fix(issues): text channel is now stored as an id --- issues/issues.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/issues/issues.py b/issues/issues.py index f139c70..b7a1e0b 100644 --- a/issues/issues.py +++ b/issues/issues.py @@ -17,7 +17,7 @@ class Issues(commands.Cog): @commands.command() async def issuesconfig(self, ctx: commands.Context, channel: discord.TextChannel = None): if channel: - await self.config.request_channel.set(channel) + await self.config.request_channel.set(channel.id) await ctx.send(content=f"Channel set to {channel.mention}.\nRun this command again without a channel argument to configure the other settings.") else: await ctx.channel.send(content="Click the button below to configure the cog.", view=self.IssueConfigurationButton(self.config, ctx))