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