From 7b18e82a1cc29b5cfcbf84f43c057d81544ed721 Mon Sep 17 00:00:00 2001 From: TrueSaiyan Date: Tue, 13 Feb 2024 07:03:02 +0800 Subject: [PATCH] Update __main__.py --- pyUltroid/__main__.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/pyUltroid/__main__.py b/pyUltroid/__main__.py index ade2950ef..c4e8185c0 100644 --- a/pyUltroid/__main__.py +++ b/pyUltroid/__main__.py @@ -18,6 +18,7 @@ def main(): WasItRestart, autopilot, customize, + fetch_ann, plug, ready, startup_stuff, @@ -25,9 +26,9 @@ def main(): from .startup.loader import load_other_plugins try: - pass + from apscheduler.schedulers.asyncio import AsyncIOScheduler except ImportError: - pass + AsyncIOScheduler = None # Option to Auto Update On Restarts.. if ( @@ -93,7 +94,6 @@ def main(): # Edit Restarting Message (if It's restarting) ultroid_bot.run_in_loop(WasItRestart(udB)) - try: cleanup_cache() except BaseException: