From 1f52550d2971bf062c38b61c9fb96404d4379f8a Mon Sep 17 00:00:00 2001 From: BFlow Date: Tue, 14 Dec 2021 16:32:42 +0100 Subject: [PATCH] update commande "!cboulette" + something --- kabot/kabot/kabot.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/kabot/kabot/kabot.py b/kabot/kabot/kabot.py index 2dffbb6..84dd41d 100644 --- a/kabot/kabot/kabot.py +++ b/kabot/kabot/kabot.py @@ -206,7 +206,7 @@ class Mybot(commands.Cog): @commands.command(help="j'adore la cuisine") async def ciboulette(self, ctx): cmd = self.bot.get_command('gif') - ctx.message = "!gif ciboulette" + ctx.message.content = "!gif ciboulette" await cmd.invoke(ctx) @@ -431,7 +431,7 @@ class Mybot(commands.Cog): @commands.command(help='Who the fuck am i?') async def schizo(self, ctx, *names): name = ' '.join(names) - list_name = ["Kabot", "Gaspard et Balthazar", "Bender", "Zoidberg", "Gunther"] + list_name = ["Kabot", "Gaspard et Balthazar", "Bender", "Zoidberg", "Gunther", "MissSaugnacEtCambran2022"] try: current_name = self.bot.user.name list_name.remove(current_name)