From 0195706e92c15a4263a8885a3603fba69f50eb4c Mon Sep 17 00:00:00 2001 From: profitroll Date: Thu, 26 Dec 2024 19:18:02 +0100 Subject: [PATCH] PycordBot now handles scheduler on its own --- classes/holo_bot.py | 12 ------------ 1 file changed, 12 deletions(-) diff --git a/classes/holo_bot.py b/classes/holo_bot.py index 182cff8..c2f4246 100644 --- a/classes/holo_bot.py +++ b/classes/holo_bot.py @@ -4,15 +4,3 @@ from libbot.pycord.classes import PycordBot class HoloBot(PycordBot): def __init__(self, *args, **kwargs): super().__init__(*args, **kwargs) - - async def start(self, *args, **kwargs) -> None: - if self.scheduler is not None: - self.scheduler.start() - - await super().start(*args, **kwargs) - - async def close(self) -> None: - if self.scheduler is not None: - self.scheduler.shutdown() - - await super().close()