diff --git a/src/modules/commandes.py b/src/modules/commandes.py index 4d86ff3..21399e3 100644 --- a/src/modules/commandes.py +++ b/src/modules/commandes.py @@ -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):