adding aliases
This commit is contained in:
parent
6a9cb8d03a
commit
185fb287b8
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")
|
@commands.command(name="list", aliases=["commande", "commandes"])
|
||||||
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