Removed a loss for some who declines to battle
This commit is contained in:
parent
3d83374424
commit
c907f76ac8
1 changed files with 1 additions and 2 deletions
|
@ -149,8 +149,7 @@ class Interaction:
|
||||||
battleP1 = discord.utils.find(lambda m: m.id == p1[0],ctx.message.server.members)
|
battleP1 = discord.utils.find(lambda m: m.id == p1[0],ctx.message.server.members)
|
||||||
battleP2 = ctx.message.author
|
battleP2 = ctx.message.author
|
||||||
|
|
||||||
await self.bot.say("{0} has chickened out! {1} wins by default!".format(battleP2.mention, battleP1.mention))
|
await self.bot.say("{0} has chickened out! What a loser~".format(battleP2.mention, battleP1.mention))
|
||||||
updateBattleRecords(battleP1, battleP2)
|
|
||||||
await self.bot.delete_message(ctx.message)
|
await self.bot.delete_message(ctx.message)
|
||||||
battlingOff(ctx.message.author.id)
|
battlingOff(ctx.message.author.id)
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue