add message for list command

This commit is contained in:
Mylloon 2021-07-29 01:56:31 +02:00
parent 1932635db1
commit 82da30c791

View file

@ -50,6 +50,8 @@ class Commandes(commands.Cog):
for commande in commandes:
message += f"{self.keys['PREFIX']}{commande[0]} -> {commande[1]}\n"
await ctx.send(message)
else:
await ctx.send(f"{ctx.author.name}, Aucune commande enrengistrée dans la base de donnée")
@commands.command()
async def edit(self, ctx: commands.Context, commandName = None, commandMessage = None):