choix d'user dans la fonction slap
This commit is contained in:
parent
80321e8128
commit
111b96c5db
1 changed files with 3 additions and 4 deletions
|
@ -91,10 +91,9 @@ class Mybot(commands.Cog):
|
||||||
for member in members:
|
for member in members:
|
||||||
if str(member.status) == "online":
|
if str(member.status) == "online":
|
||||||
online_members.append(member)
|
online_members.append(member)
|
||||||
|
member = random.choice(online_members)
|
||||||
await ctx.channel.send('%s' % online_members)
|
user = member.mention
|
||||||
|
await ctx.channel.send("j'attrape %s est lui met une tarte!" % user)
|
||||||
#await ctx.channel.send("j'attrape %s est lui met une tarte!" % user)
|
|
||||||
|
|
||||||
@commands.command(help="optionnal args : [livre] [character]")
|
@commands.command(help="optionnal args : [livre] [character]")
|
||||||
async def kaamelott(self, ctx, *args):
|
async def kaamelott(self, ctx, *args):
|
||||||
|
|
Loading…
Reference in a new issue