auto mutilation
This commit is contained in:
parent
111b96c5db
commit
33d44c2395
1 changed files with 5 additions and 1 deletions
|
@ -85,6 +85,7 @@ class Mybot(commands.Cog):
|
||||||
|
|
||||||
@commands.command(help='slap this ass')
|
@commands.command(help='slap this ass')
|
||||||
async def slap(self, ctx, user=None):
|
async def slap(self, ctx, user=None):
|
||||||
|
member=None
|
||||||
if not user:
|
if not user:
|
||||||
online_members = []
|
online_members = []
|
||||||
members = ctx.guild.members
|
members = ctx.guild.members
|
||||||
|
@ -93,7 +94,10 @@ class Mybot(commands.Cog):
|
||||||
online_members.append(member)
|
online_members.append(member)
|
||||||
member = random.choice(online_members)
|
member = random.choice(online_members)
|
||||||
user = member.mention
|
user = member.mention
|
||||||
await ctx.channel.send("j'attrape %s est lui met une tarte!" % user)
|
if member == self.bot.user:
|
||||||
|
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)
|
||||||
|
|
||||||
@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