Added a name to the Timer thread for better tracking, as it's not completing
This commit is contained in:
parent
f51dcea46a
commit
538d4aa6df
1 changed files with 1 additions and 1 deletions
|
@ -83,7 +83,7 @@ class Interaction:
|
|||
|
||||
fmt = "{0.mention} has challenged you to a battle {1.mention}\n!accept or !decline"
|
||||
await self.bot.say(fmt.format(ctx.message.author, player2))
|
||||
t = Timer(180, battlingOff, {'player1':ctx.message.author.id})
|
||||
t = Timer(180, battlingOff, name='Thread-battle_off', {'player1':ctx.message.author.id})
|
||||
t.start()
|
||||
|
||||
@commands.command(pass_context=True, no_pm=True)
|
||||
|
|
Loading…
Reference in a new issue