import logging from ci import app # 日志记录 logging.basicConfig(level=logging.DEBUG) logging.getLogger("pyrogram").setLevel(logging.CRITICAL) logging.info("Bot 已启动") app.run()