Oops pt. 1

This commit is contained in:
xBelladonna 2019-04-12 23:57:25 +09:30 committed by Astrid
parent f49c2baaff
commit 71f3738849

View File

@ -18,6 +18,7 @@ def make_command_embed(command):
embed = make_footer_embed() embed = make_footer_embed()
embed.title = prefix + command["usage"] embed.title = prefix + command["usage"]
embed.description = (command["description"] + "\n" + command.get("longdesc", "")).strip() embed.description = (command["description"] + "\n" + command.get("longdesc", "")).strip()
if "aliases" in command:
embed.add_field(name="Aliases" if len(command["aliases"]) > 1 else "Alias", value="\n".join([prefix + cmd for cmd in command["aliases"]]), inline=False) embed.add_field(name="Aliases" if len(command["aliases"]) > 1 else "Alias", value="\n".join([prefix + cmd for cmd in command["aliases"]]), inline=False)
embed.add_field(name="Usage", value=prefix + command["usage"], inline=False) embed.add_field(name="Usage", value=prefix + command["usage"], inline=False)
if "examples" in command: if "examples" in command: