[Base] Help message design update

This commit is contained in:
Suwako Moriya 2020-04-05 02:50:46 +02:00
parent 0019e5d069
commit 33e662d683
Signed by: SuwakoMmh
GPG Key ID: A27482B806F13CD5

View File

@ -42,12 +42,12 @@ class BaseClass:
embed = discord.Embed(
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
)
for command, description in self.help["commands"].items():
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)
await channel.send(embed=embed)