app/main.py

11 lines
301 B
Python
Raw Permalink Normal View History

"""
启动脚本会执行一些启动的操作比如加载配置文件初始化 bot 实例等
"""
from liteyuki import LiteyukiBot
from liteyuki.config import load_config_in_default
2024-03-23 19:55:12 +08:00
2024-08-29 13:50:12 +08:00
if __name__ == "__main__":
bot = LiteyukiBot(**load_config_in_default(no_waring=True))
bot.run()