diff --git a/pterodactyl/ptero.py b/pterodactyl/ptero.py index 237a635..7910537 100644 --- a/pterodactyl/ptero.py +++ b/pterodactyl/ptero.py @@ -290,6 +290,7 @@ class Pterodactyl(commands.Cog): headers = self.passed_info['headers'] await self.session.post(await Pterodactyl.get_url(self, self.passed_info['guild'], "power"), headers=headers, json={"signal": self.passed_info['signal']}) message = await self.passed_info['interaction'].edit_original_response(content=self.passed_info['message'], view=None) + await asyncio.sleep(10) while True: async with self.session.get(await Pterodactyl.get_url(self, self.passed_info['guild'], "resources"), headers=headers) as response: response_dict = await response.json()