Refactor Pterodactyl cog to use aiohttp #2
1 changed files with 1 additions and 1 deletions
|
@ -230,7 +230,7 @@ class Pterodactyl(commands.Cog):
|
|||
await self.passed_info['interaction'].edit_original_response(content="\nServer stopped!")
|
||||
break
|
||||
else:
|
||||
await asyncio.sleep(2)
|
||||
await asyncio.sleep(1)
|
||||
continue
|
||||
for data in self.passed_info['updater_startup_vars']:
|
||||
await session.put(self, url=await Pterodactyl.get_url(self, self.passed_info['guild'], "startup/variable"), headers=self.passed_info['headers'], json=data)
|
||||
|
|
Reference in a new issue