fix(seautils): pylint fix

This commit is contained in:
Seaswimmer 2024-06-04 12:16:09 -04:00
parent 7354769962
commit 28f814db56
Signed by untrusted user: cswimr
GPG key ID: 5D671B5D03D65A7F

View file

@ -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,