aboutsummaryrefslogtreecommitdiffstats
path: root/bot/exts/evergreen/tic_tac_toe.py
diff options
context:
space:
mode:
authorGravatar ks129 <[email protected]>2021-01-24 17:10:08 +0200
committerGravatar GitHub <[email protected]>2021-01-24 17:10:08 +0200
commit7cdf800368e4e287a8fd2bc3b539395ff6c73e41 (patch)
treecaee50239a94182263f59573c8ebddbdcdc0042e /bot/exts/evergreen/tic_tac_toe.py
parentFix indention (diff)
Decrease timeout from 120 sec to 30 sec
Diffstat (limited to 'bot/exts/evergreen/tic_tac_toe.py')
-rw-r--r--bot/exts/evergreen/tic_tac_toe.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/bot/exts/evergreen/tic_tac_toe.py b/bot/exts/evergreen/tic_tac_toe.py
index 22fff102..e1190502 100644
--- a/bot/exts/evergreen/tic_tac_toe.py
+++ b/bot/exts/evergreen/tic_tac_toe.py
@@ -58,7 +58,7 @@ class Player:
)
try:
- react, _ = await self.ctx.bot.wait_for('reaction_add', timeout=120.0, check=check_for_move)
+ react, _ = await self.ctx.bot.wait_for('reaction_add', timeout=30.0, check=check_for_move)
except asyncio.TimeoutError:
return True, None
else: