From 28f814db564444c672857e1b82e52e3c44ff79fd Mon Sep 17 00:00:00 2001 From: Seaswimmer Date: Tue, 4 Jun 2024 12:16:09 -0400 Subject: [PATCH] fix(seautils): pylint fix --- seautils/seautils.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/seautils/seautils.py b/seautils/seautils.py index 304fd70..3bbf5cf 100644 --- a/seautils/seautils.py +++ b/seautils/seautils.py @@ -80,6 +80,8 @@ class SeaUtils(commands.Cog): text = self.format_src(type(obj)) elif obj := ctx.bot.get_command(object): text = self.format_src(obj) + else: + raise AttributeError temp_content = cf.pagify( text=cleanup_code(text), escape_mass_mentions=True,