Remove ljust
This commit is contained in:
parent
d19696e0ec
commit
fda6b3aae2
|
@ -75,7 +75,7 @@ class Miscallaneous:
|
||||||
chunks[len(chunks) - 1] += tmp
|
chunks[len(chunks) - 1] += tmp
|
||||||
elif isinstance(entity, (commands.core.Command, commands.core.Group)):
|
elif isinstance(entity, (commands.core.Command, commands.core.Group)):
|
||||||
tmp = "**{}**".format(self._command_signature(entity))
|
tmp = "**{}**".format(self._command_signature(entity))
|
||||||
tmp += "\n{}".format(entity.help.ljust(4))
|
tmp += "\n{}".format(entity.help)
|
||||||
chunks.append(tmp)
|
chunks.append(tmp)
|
||||||
else:
|
else:
|
||||||
cmds = sorted(ctx.bot.get_cog_commands(entity.__class__.__name__), key=lambda c: c.name)
|
cmds = sorted(ctx.bot.get_cog_commands(entity.__class__.__name__), key=lambda c: c.name)
|
||||||
|
|
Loading…
Reference in a new issue