awaited an asyncio.sleep
This commit is contained in:
parent
fd1ad7f0c9
commit
02eecb31fb
1 changed files with 1 additions and 1 deletions
|
@ -152,7 +152,7 @@ class Pterodactyl(commands.Cog):
|
||||||
continue
|
continue
|
||||||
for data in self.passed_info['old_startup_vars']:
|
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)
|
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"})
|
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...")
|
await self.passed_info['interaction'].edit_original_response(content="Server starting...")
|
||||||
while True:
|
while True:
|
||||||
|
|
Reference in a new issue