Corrected what was sent via the timeout
This commit is contained in:
parent
c6e057ad67
commit
639c6ae58d
|
@ -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)
|
||||
|
|
Loading…
Reference in a new issue