From 02eecb31fbf123b58df1bcfbfc84d93c84b80691 Mon Sep 17 00:00:00 2001 From: SeaswimmerTheFsh Date: Sun, 16 Jul 2023 08:27:48 -0400 Subject: [PATCH] awaited an asyncio.sleep --- pterodactyl/ptero.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pterodactyl/ptero.py b/pterodactyl/ptero.py index d737a32..e40b0b9 100644 --- a/pterodactyl/ptero.py +++ b/pterodactyl/ptero.py @@ -152,7 +152,7 @@ class Pterodactyl(commands.Cog): continue for data in self.passed_info['old_startup_vars']: await Pterodactyl.put(self, await Pterodactyl.get_url(self, self.passed_info['guild'], "startup/variable"), self.passed_info['headers'], data) - asyncio.sleep(1) + await asyncio.sleep(1) requests.post(await Pterodactyl.get_url(self, self.passed_info['guild'], "power"), self.passed_info['headers'], json={"signal": "start"}) await self.passed_info['interaction'].edit_original_response(content="Server starting...") while True: