From 35e80fdbb3c8a7c4179a12ebb0c67d227031a50a Mon Sep 17 00:00:00 2001 From: SeaswimmerTheFsh Date: Sun, 23 Jul 2023 14:34:58 -0400 Subject: [PATCH] misc: changed sleep duration on UpdateButtons to 1 second --- pterodactyl/ptero.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pterodactyl/ptero.py b/pterodactyl/ptero.py index 57dc7ea..8533033 100644 --- a/pterodactyl/ptero.py +++ b/pterodactyl/ptero.py @@ -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)