fix(seautils): minor syntax change
Some checks failed
Actions / Build Documentation (MkDocs) (push) Successful in 28s
Actions / Lint Code (Ruff & Pylint) (push) Failing after 40s

This commit is contained in:
Seaswimmer 2024-05-17 00:20:00 -04:00
parent 7019b9ffe5
commit d556ee3704
Signed by: cswimr
GPG key ID: 5D671B5D03D65A7F

View file

@ -62,7 +62,7 @@ class SeaUtils(commands.Cog):
text = self.format_src(ctx, obj)
elif obj := ctx.bot.get_cog(object):
text = self.format_src(ctx, type(obj))
elif obj:= ctx.bot.get_command(object):
elif obj := ctx.bot.get_command(object):
text = self.format_src(ctx, obj)
temp_content = cf.pagify(
text=cleanup_code(text),