Add Pterodactyl cog #19

Merged
cswimr merged 139 commits from pterodactyl into main 2024-03-02 00:07:42 -05:00
Showing only changes of commit a0b1773185 - Show all commits

View file

@ -50,6 +50,7 @@ class Pterodactyl(commands.Cog):
self.task.cancel() self.task.cancel()
if self.retry_counter < 5: if self.retry_counter < 5:
self.retry_counter += 1 self.retry_counter += 1
logger.info("Retrying in %s seconds...", 5 * self.retry_counter)
time.sleep(5 * self.retry_counter) time.sleep(5 * self.retry_counter)
self.task = self.get_task() self.task = self.get_task()
else: else: