[Base] Help message design update
This commit is contained in:
parent
0019e5d069
commit
33e662d683
@ -42,12 +42,12 @@ class BaseClass:
|
|||||||
|
|
||||||
embed = discord.Embed(
|
embed = discord.Embed(
|
||||||
title="[{nom}] - Aide".format(nom=self.name),
|
title="[{nom}] - Aide".format(nom=self.name),
|
||||||
description=self.help["description"].format(prefix=self.client.config['prefix']),
|
description="*" + self.help["description"].format(prefix=self.client.config['prefix']) + "*",
|
||||||
color=self.color
|
color=self.color
|
||||||
)
|
)
|
||||||
for command, description in self.help["commands"].items():
|
for command, description in self.help["commands"].items():
|
||||||
embed.add_field(name=command.format(prefix=self.client.config['prefix'], command=self.command_text),
|
embed.add_field(name=command.format(prefix=self.client.config['prefix'], command=self.command_text),
|
||||||
value=description.format(prefix=self.client.config['prefix'], command=self.command_text),
|
value="-> " + description.format(prefix=self.client.config['prefix'], command=self.command_text),
|
||||||
inline=False)
|
inline=False)
|
||||||
await channel.send(embed=embed)
|
await channel.send(embed=embed)
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user