From 516c0feeccfbcece8fbb13f34560f1093d0f689d Mon Sep 17 00:00:00 2001 From: SeaswimmerTheFsh Date: Mon, 13 May 2024 20:17:00 -0400 Subject: [PATCH] fix(seautils): catch the attributeerror --- seautils/seautils.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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.")