diff --git a/cogs/interaction.py b/cogs/interaction.py index f52c9e6..e95c21a 100644 --- a/cogs/interaction.py +++ b/cogs/interaction.py @@ -111,7 +111,7 @@ class Interaction: fmt = "{0.mention} has challenged you to a battle {1.mention}\n!accept or !decline" # Add a call to turn off battling, if the battle is not accepted/declined in 3 minutes - config.loop.call_later(180, self.battling_off, ctx.message.author.id) + config.loop.call_later(180, self.battling_off, ctx) await self.bot.say(fmt.format(ctx.message.author, player2)) @commands.command(pass_context=True, no_pm=True)