new aliase "help" for the "list" command
This commit is contained in:
parent
0d34bc1ee0
commit
011d9c5115
1 changed files with 1 additions and 1 deletions
|
@ -41,7 +41,7 @@ class Commandes(commands.Cog): # Les méthodes qui ont no_global_checks de Vrai
|
||||||
else:
|
else:
|
||||||
await ctx.send(f"@{ctx.author.name}, {self.notModo}.")
|
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):
|
async def _list(self, ctx: commands.Context):
|
||||||
"""Affiche la liste des commandes de la base de donnée du bot"""
|
"""Affiche la liste des commandes de la base de donnée du bot"""
|
||||||
commandes = CommandesDB().listeCommande()
|
commandes = CommandesDB().listeCommande()
|
||||||
|
|
Loading…
Reference in a new issue