1
0
Fork 0
mirror of synced 2024-05-07 06:02:24 +12:00

Remove ljust

This commit is contained in:
phxntxm 2018-10-08 19:29:20 -05:00
parent d19696e0ec
commit fda6b3aae2

View file

@ -75,7 +75,7 @@ class Miscallaneous:
chunks[len(chunks) - 1] += tmp
elif isinstance(entity, (commands.core.Command, commands.core.Group)):
tmp = "**{}**".format(self._command_signature(entity))
tmp += "\n{}".format(entity.help.ljust(4))
tmp += "\n{}".format(entity.help)
chunks.append(tmp)
else:
cmds = sorted(ctx.bot.get_cog_commands(entity.__class__.__name__), key=lambda c: c.name)