fix(seautils): pylint fix
All checks were successful
Actions / Build Documentation (MkDocs) (push) Successful in 28s
Actions / Lint Code (Ruff & Pylint) (push) Successful in 45s

This commit is contained in:
Seaswimmer 2024-06-04 12:16:09 -04:00
parent 7354769962
commit 28f814db56
Signed by: Seaswimmer
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,