adding aliases

This commit is contained in:
Mylloon 2021-08-02 14:02:15 +02:00
parent 6a9cb8d03a
commit 185fb287b8

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")
@commands.command(name="list", aliases=["commande", "commandes"])
async def _list(self, ctx: commands.Context):
"""Affiche la liste des commandes de la base de donnée du bot"""
commandes = CommandesDB().listeCommande()