fix(seautils): pylint fix
This commit is contained in:
parent
7354769962
commit
28f814db56
1 changed files with 2 additions and 0 deletions
|
@ -80,6 +80,8 @@ class SeaUtils(commands.Cog):
|
||||||
text = self.format_src(type(obj))
|
text = self.format_src(type(obj))
|
||||||
elif obj := ctx.bot.get_command(object):
|
elif obj := ctx.bot.get_command(object):
|
||||||
text = self.format_src(obj)
|
text = self.format_src(obj)
|
||||||
|
else:
|
||||||
|
raise AttributeError
|
||||||
temp_content = cf.pagify(
|
temp_content = cf.pagify(
|
||||||
text=cleanup_code(text),
|
text=cleanup_code(text),
|
||||||
escape_mass_mentions=True,
|
escape_mass_mentions=True,
|
||||||
|
|
Loading…
Reference in a new issue