Mais slap moi (patch commande slap)
This commit is contained in:
parent
9681bb6067
commit
72dbc404a9
1 changed files with 4 additions and 2 deletions
|
@ -86,8 +86,8 @@ class Mybot(commands.Cog):
|
|||
@commands.command(help='slap this ass')
|
||||
async def slap(self, ctx, user=None):
|
||||
slap_multiple = [
|
||||
"%s prend un coup de pied au cul",
|
||||
"Descente du coude sur %s",
|
||||
"%s prend un coup de pied au cul",
|
||||
"Descente du coude sur %s",
|
||||
"%s est propulsé par dessus la TROISIEME CORDE!",
|
||||
]
|
||||
if not user or not ctx.message.mentions:
|
||||
|
@ -98,6 +98,8 @@ class Mybot(commands.Cog):
|
|||
online_members.append(member)
|
||||
user = random.choice(online_members)
|
||||
user = user.mention
|
||||
elif ctx.user.mentions:
|
||||
user = ctx.message.mentions[0]
|
||||
if user == self.bot.user.mention:
|
||||
await ctx.channel.send("je tribuche par terre et je sais pas comment")
|
||||
else:
|
||||
|
|
Loading…
Reference in a new issue