1
0
Fork 0
mirror of synced 2024-06-28 11:10:27 +12:00

Removed a loss for some who declines to battle

This commit is contained in:
Phxntxm 2016-08-04 10:20:28 -05:00
parent 3d83374424
commit c907f76ac8

View file

@ -149,8 +149,7 @@ class Interaction:
battleP1 = discord.utils.find(lambda m: m.id == p1[0],ctx.message.server.members)
battleP2 = ctx.message.author
await self.bot.say("{0} has chickened out! {1} wins by default!".format(battleP2.mention, battleP1.mention))
updateBattleRecords(battleP1, battleP2)
await self.bot.say("{0} has chickened out! What a loser~".format(battleP2.mention, battleP1.mention))
await self.bot.delete_message(ctx.message)
battlingOff(ctx.message.author.id)