add aliase to remove command

This commit is contained in:
Mylloon 2021-07-29 23:37:12 +02:00
parent bebc8bca72
commit 0d345c3d03

View file

@ -27,7 +27,7 @@ class Commandes(commands.Cog):
else:
await ctx.send(f"@{ctx.author.name}, {self.notModo}.")
@commands.command(name="remove")
@commands.command(name="remove", aliases=["delete"])
async def _remove(self, ctx: commands.Context, commandName = None):
"""Supprime une commande de la base de donnée du bot : remove nomDeLaCommande"""
if commandName == None: