correction de la commande slap

This commit is contained in:
BFlow 2019-11-17 20:10:10 +01:00
parent 957708785f
commit b27a9b00a7

View file

@ -92,11 +92,11 @@ class Mybot(commands.Cog):
if str(member.status) == "online":
online_members.append(member)
user = random.choice(online_members)
#user = member.mention
if user == self.bot.user:
user = user.mention
if user == self.bot.user.memtion:
await ctx.channel.send("je tribuche par terre et je sais pas comment")
else:
await ctx.channel.send("j'attrape %s et lui met une tarte!" % user.mention)
await ctx.channel.send("j'attrape %s et lui met une tarte!" % user)
@commands.command(help="optionnal args : [livre] [character]")
async def kaamelott(self, ctx, *args):