From 97f1da001b24f1394b0bf3c4a2e5f88d2a4d8b3a Mon Sep 17 00:00:00 2001 From: phxntxm Date: Fri, 5 May 2017 23:59:16 -0500 Subject: [PATCH] Correct declining battle --- cogs/interaction.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/cogs/interaction.py b/cogs/interaction.py index 5b32710..54b1a0e 100644 --- a/cogs/interaction.py +++ b/cogs/interaction.py @@ -183,7 +183,7 @@ class Interaction: return if not self.can_be_battled(player2): ctx.command.reset_cooldown(ctx) - await ctx.send("{} is already being challenged to a battle!") + await ctx.send("{} is already being challenged to a battle!".format(player2)) return # Add the author and player provided in a new battle @@ -255,7 +255,7 @@ class Interaction: battleP2 = ctx.message.author # There's no need to update the stats for the members if they declined the battle - self.battling_off(player2=battleP1) + self.battling_off(player2=battleP2) await ctx.send("{} has chickened out! What a loser~".format(battleP2.mention)) @commands.command()