Add Pterodactyl cog #19
1 changed files with 1 additions and 0 deletions
|
@ -50,6 +50,7 @@ class Pterodactyl(commands.Cog):
|
|||
self.task.cancel()
|
||||
if self.retry_counter < 5:
|
||||
self.retry_counter += 1
|
||||
logger.info("Retrying in %s seconds...", 5 * self.retry_counter)
|
||||
time.sleep(5 * self.retry_counter)
|
||||
self.task = self.get_task()
|
||||
else:
|
||||
|
|
Loading…
Reference in a new issue