misc: changed sleep duration on UpdateButtons to 1 second

This commit is contained in:
Seaswimmer 2023-07-23 14:34:58 -04:00
parent ef662d81b1
commit 35e80fdbb3
No known key found for this signature in database
GPG key ID: 5019678FD9CF50D8

View file

@ -230,7 +230,7 @@ class Pterodactyl(commands.Cog):
await self.passed_info['interaction'].edit_original_response(content="\nServer stopped!") await self.passed_info['interaction'].edit_original_response(content="\nServer stopped!")
break break
else: else:
await asyncio.sleep(2) await asyncio.sleep(1)
continue continue
for data in self.passed_info['updater_startup_vars']: 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) await session.put(self, url=await Pterodactyl.get_url(self, self.passed_info['guild'], "startup/variable"), headers=self.passed_info['headers'], json=data)