From 8b79a1cbbabe218eb35a67a047d5a31c71432ab0 Mon Sep 17 00:00:00 2001 From: Elmon11 Date: Thu, 7 Jan 2021 20:36:06 +0100 Subject: [PATCH] Update help.py --- commands/help.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/commands/help.py b/commands/help.py index d27c441..29097a1 100644 --- a/commands/help.py +++ b/commands/help.py @@ -13,7 +13,7 @@ class Help(commands.Cog): @commands.command(aliases=['h', '?']) async def help(self, ctx, page=1): - 'Displays the help command' + """Displays the help command""" em = discord.Embed() em.title = 'Help Command' cog_list = [c for c in self.bot.cogs.keys()] @@ -43,7 +43,7 @@ class Help(commands.Cog): for check in command.checks: try: check(ctx) - except: + except commands.MissingPermissions: showcommand = False if showcommand: command_list += f'**{ctx.prefix}{command.name}** - {command.help}\n'