new aliase "help" for the "list" command

This commit is contained in:
Mylloon 2021-08-20 08:33:46 +02:00
parent 0d34bc1ee0
commit 011d9c5115

View file

@ -41,7 +41,7 @@ class Commandes(commands.Cog): # Les méthodes qui ont no_global_checks de Vrai
else:
await ctx.send(f"@{ctx.author.name}, {self.notModo}.")
@commands.command(name="list", aliases=["commande", "commandes"])
@commands.command(name="list", aliases=["commande", "commandes", "help"])
async def _list(self, ctx: commands.Context):
"""Affiche la liste des commandes de la base de donnée du bot"""
commandes = CommandesDB().listeCommande()