Skip to content

Commit 3ae08e9

Browse files
committed
Fixed bug with wait_until_ready
1 parent 609de00 commit 3ae08e9

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

core/thread.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -74,7 +74,7 @@ def __eq__(self, other):
7474
async def wait_until_ready(self) -> None:
7575
"""Blocks execution until the thread is fully set up."""
7676
# timeout after 30 seconds
77-
task = self.bot.loop.create_task(asyncio.wait_for(self._ready_event.wait(), timeout=25))
77+
task = self.bot.loop.create_task(asyncio.wait_for(self._ready_event.wait(), timeout=self.bot.config["confirm_thread_creation_timeout"]+5))
7878
self.wait_tasks.append(task)
7979
try:
8080
await task

0 commit comments

Comments
 (0)