diff --git a/pterodactyl/pterodactyl.py b/pterodactyl/pterodactyl.py index 4b53973..ff9d2e5 100644 --- a/pterodactyl/pterodactyl.py +++ b/pterodactyl/pterodactyl.py @@ -172,6 +172,7 @@ class Pterodactyl(commands.Cog): pass except Exception as e: self.logger.error("WebSocket task has failed: %s", e, exc_info=e) + self.task = self.get_task() async def cog_load(self): self.task = self.get_task()