diff --git a/cogs/interaction.py b/cogs/interaction.py index 98709f3..c0fd640 100644 --- a/cogs/interaction.py +++ b/cogs/interaction.py @@ -111,12 +111,12 @@ class Interaction: await self.bot.say(fmt.format(battleP1.mention, battleP2.mention)) if not updateBattleRecords(battleP1, battleP2): await self.bot.say("I was unable to save this data") - battlingOff({'player2': ctx.message.author.id}) + battlingOff(player2 = ctx.message.author.id) elif num > 50: await self.bot.say(fmt.format(battleP2.mention, battleP1.mention)) if not updateBattleRecords(battleP2, battleP1): await self.bot.say("I was unable to save this data") - battlingOff({'player2': ctx.message.author.id}) + battlingOff(player2 = ctx.message.author.id) @commands.command(pass_context=True, no_pm=True) @checks.customPermsOrRole("none") @@ -132,7 +132,7 @@ class Interaction: await self.bot.say("{0} has chickened out! {1} wins by default!".format(battleP2.mention, battleP1.mention)) if not updateBattleRecords(battleP1, battleP2): await self.bot.say("I was unable to save this data") - battlingOff({'player2': ctx.message.author.id}) + battlingOff(player2 = ctx.message.author.id) @commands.command(pass_context=True, no_pm=True) @checks.customPermsOrRole("none")