add message for list command
This commit is contained in:
parent
1932635db1
commit
82da30c791
1 changed files with 2 additions and 0 deletions
|
@ -50,6 +50,8 @@ class Commandes(commands.Cog):
|
||||||
for commande in commandes:
|
for commande in commandes:
|
||||||
message += f"{self.keys['PREFIX']}{commande[0]} -> {commande[1]}\n"
|
message += f"{self.keys['PREFIX']}{commande[0]} -> {commande[1]}\n"
|
||||||
await ctx.send(message)
|
await ctx.send(message)
|
||||||
|
else:
|
||||||
|
await ctx.send(f"{ctx.author.name}, Aucune commande enrengistrée dans la base de donnée")
|
||||||
|
|
||||||
@commands.command()
|
@commands.command()
|
||||||
async def edit(self, ctx: commands.Context, commandName = None, commandMessage = None):
|
async def edit(self, ctx: commands.Context, commandName = None, commandMessage = None):
|
||||||
|
|
Loading…
Reference in a new issue