mirror of
https://github.com/TriM-Organization/LiteyukiBot-TriM.git
synced 2024-11-28 16:24:51 +08:00
✨ 新版本npm
This commit is contained in:
parent
83ee6cfdbd
commit
33ad54090d
3
main.py
3
main.py
@ -4,7 +4,6 @@ from liteyuki.utils.base.config import load_from_yaml
|
|||||||
from liteyuki.utils.base.data_manager import StoredConfig, common_db
|
from liteyuki.utils.base.data_manager import StoredConfig, common_db
|
||||||
from liteyuki.utils.base.ly_api import liteyuki_api
|
from liteyuki.utils.base.ly_api import liteyuki_api
|
||||||
|
|
||||||
|
|
||||||
if __name__ == "__mp_main__":
|
if __name__ == "__mp_main__":
|
||||||
# Start as multiprocessing
|
# Start as multiprocessing
|
||||||
init()
|
init()
|
||||||
@ -23,8 +22,8 @@ if __name__ == "__mp_main__":
|
|||||||
nonebot.logger.error(f"An error occurred: {e}, Bug will be reported automatically.")
|
nonebot.logger.error(f"An error occurred: {e}, Bug will be reported automatically.")
|
||||||
liteyuki_api.bug_report(str(e.__repr__()))
|
liteyuki_api.bug_report(str(e.__repr__()))
|
||||||
|
|
||||||
|
|
||||||
if __name__ == "__main__":
|
if __name__ == "__main__":
|
||||||
# Start as __main__
|
# Start as __main__
|
||||||
from liteyuki.utils.base.reloader import Reloader
|
from liteyuki.utils.base.reloader import Reloader
|
||||||
|
|
||||||
nonebot.run()
|
nonebot.run()
|
@ -23,7 +23,7 @@ importlib_metadata~=7.0.2
|
|||||||
requests~=2.31.0
|
requests~=2.31.0
|
||||||
watchdog~=4.0.0
|
watchdog~=4.0.0
|
||||||
pillow~=10.2.0
|
pillow~=10.2.0
|
||||||
|
jieba~=0.42.1
|
||||||
pip~=23.2.1
|
pip~=23.2.1
|
||||||
fastapi~=0.110.0
|
fastapi~=0.110.0
|
||||||
python-dotenv~=1.0.1
|
python-dotenv~=1.0.1
|
Loading…
Reference in New Issue
Block a user