correction de la commande slap
This commit is contained in:
parent
957708785f
commit
b27a9b00a7
1 changed files with 3 additions and 3 deletions
|
@ -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):
|
||||
|
|
Loading…
Reference in a new issue