mirror of
https://github.com/marcogll/talia_bot.git
synced 2026-01-14 04:55:19 +00:00
Merge branch 'main' into feat/add-print-command-8512170790091266484
This commit is contained in:
@@ -28,7 +28,7 @@ from modules.equipo import (
|
||||
from modules.aprobaciones import view_pending, handle_approval_action
|
||||
from modules.servicios import get_service_info
|
||||
from modules.admin import get_system_status
|
||||
from modules.print import print_handler
|
||||
from app.scheduler import setup_scheduler
|
||||
|
||||
# Enable logging
|
||||
logging.basicConfig(
|
||||
@@ -105,6 +105,9 @@ def main() -> None:
|
||||
application.add_handler(CommandHandler("print", print_handler))
|
||||
application.add_handler(CallbackQueryHandler(button_dispatcher))
|
||||
|
||||
# Set up the scheduler
|
||||
setup_scheduler(application)
|
||||
|
||||
logger.info("Starting Talía Bot...")
|
||||
application.run_polling()
|
||||
|
||||
|
||||
Reference in New Issue
Block a user