update commande "!cboulette" + something

This commit is contained in:
BFlow 2021-12-14 16:32:42 +01:00
parent 0c9aeece81
commit 1f52550d29

View file

@ -206,7 +206,7 @@ class Mybot(commands.Cog):
@commands.command(help="j'adore la cuisine") @commands.command(help="j'adore la cuisine")
async def ciboulette(self, ctx): async def ciboulette(self, ctx):
cmd = self.bot.get_command('gif') cmd = self.bot.get_command('gif')
ctx.message = "!gif ciboulette" ctx.message.content = "!gif ciboulette"
await cmd.invoke(ctx) await cmd.invoke(ctx)
@ -431,7 +431,7 @@ class Mybot(commands.Cog):
@commands.command(help='Who the fuck am i?') @commands.command(help='Who the fuck am i?')
async def schizo(self, ctx, *names): async def schizo(self, ctx, *names):
name = ' '.join(names) name = ' '.join(names)
list_name = ["Kabot", "Gaspard et Balthazar", "Bender", "Zoidberg", "Gunther"] list_name = ["Kabot", "Gaspard et Balthazar", "Bender", "Zoidberg", "Gunther", "MissSaugnacEtCambran2022"]
try: try:
current_name = self.bot.user.name current_name = self.bot.user.name
list_name.remove(current_name) list_name.remove(current_name)