Remove tribute auto renew and add admin notifications

This commit is contained in:
Machka Pasla
2025-07-06 13:31:04 +07:00
parent 07cb68457f
commit df987fc52a
7 changed files with 69 additions and 82 deletions
-7
View File
@@ -32,7 +32,6 @@ from bot.handlers.admin import admin_router_aggregate
from bot.filters.admin_filter import AdminFilter
from bot.services.notification_service import schedule_subscription_notifications
from bot.services.auto_renew_service import schedule_tribute_autorenew
from bot.services.yookassa_service import YooKassaService
from bot.services.panel_api_service import PanelApiService
from bot.services.subscription_service import SubscriptionService
@@ -117,12 +116,6 @@ async def on_startup_configured(dispatcher: Dispatcher):
panel_service,
async_session_factory,
)
schedule_tribute_autorenew(
settings,
scheduler,
panel_service,
async_session_factory,
)
scheduler.start()
dispatcher["scheduler"] = scheduler
logging.info("STARTUP: APScheduler started.")