diff --git a/jarvis/cogs/settings.py b/jarvis/cogs/settings.py index 2840e94..f285fdc 100644 --- a/jarvis/cogs/settings.py +++ b/jarvis/cogs/settings.py @@ -84,7 +84,9 @@ class SettingsCog(commands.Cog): ) @commands.has_permissions(administrator=True) async def _userlog(self, ctx, channel: TextChannel): - await ctx.defer() + if not isinstance(channel, TextChannel): + await ctx.send("Channel must be a TextChannel", hidden=True) + return self.update_settings("userlog", channel.id, ctx.guild.id) await ctx.send( f"Settings applied. New userlog channel is {channel.mention}"