forked from cswimr/SeaCogs
fix(seautils): minor syntax change
This commit is contained in:
parent
7019b9ffe5
commit
d556ee3704
1 changed files with 1 additions and 1 deletions
|
@ -62,7 +62,7 @@ class SeaUtils(commands.Cog):
|
||||||
text = self.format_src(ctx, obj)
|
text = self.format_src(ctx, obj)
|
||||||
elif obj := ctx.bot.get_cog(object):
|
elif obj := ctx.bot.get_cog(object):
|
||||||
text = self.format_src(ctx, type(obj))
|
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)
|
text = self.format_src(ctx, obj)
|
||||||
temp_content = cf.pagify(
|
temp_content = cf.pagify(
|
||||||
text=cleanup_code(text),
|
text=cleanup_code(text),
|
||||||
|
|
Loading…
Reference in a new issue