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))