1
0
Fork 0
mirror of synced 2024-06-24 17:21:07 +12:00

Corrected what was sent via the timeout

This commit is contained in:
Phxntxm 2016-08-21 15:01:47 -05:00
parent c6e057ad67
commit 639c6ae58d

View file

@ -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)