2024-08-12 02:40:51 +08:00
|
|
|
|
"""
|
|
|
|
|
启动脚本,会执行一些启动的操作,比如加载配置文件,初始化 bot 实例等。
|
|
|
|
|
"""
|
2024-07-24 02:36:46 +08:00
|
|
|
|
from liteyuki import LiteyukiBot
|
2024-08-12 02:40:51 +08:00
|
|
|
|
from liteyuki.config import load_config_in_default
|
2024-03-23 19:55:12 +08:00
|
|
|
|
|
2024-07-31 02:28:25 +08:00
|
|
|
|
if __name__ == "__main__":
|
2024-08-12 04:45:59 +08:00
|
|
|
|
bot = LiteyukiBot(**load_config_in_default(no_waring=True))
|
2024-07-24 02:36:46 +08:00
|
|
|
|
bot.run()
|