Oops pt. 1
This commit is contained in:
parent
f49c2baaff
commit
71f3738849
@ -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:
|
||||||
|
Loading…
Reference in New Issue
Block a user