diff --git a/seautils/seautils.py b/seautils/seautils.py index c42fc0e..367ff3d 100644 --- a/seautils/seautils.py +++ b/seautils/seautils.py @@ -38,5 +38,5 @@ class SeaUtils(commands.Cog): try: content = cf.pagify(inspect.getsource(self.bot.get_command(command).callback)) await ctx.send_interactive(content, box_lang='py') - except OSError: + except (OSError, AttributeError): await ctx.send("Command not found.")