fix(pterodactyl): don't run update_topic or the websocket tasks before red is ready
This commit is contained in:
parent
0955282325
commit
06e011f670
2 changed files with 2 additions and 0 deletions
|
@ -15,6 +15,7 @@ from pterodactyl.pterodactyl import Pterodactyl
|
|||
|
||||
|
||||
async def establish_websocket_connection(coginstance: Pterodactyl) -> None:
|
||||
await coginstance.bot.wait_until_red_ready()
|
||||
base_url = await config.base_url()
|
||||
base_url = base_url[:-1] if base_url.endswith('/') else base_url
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue