2024-03-18 18:21:56 +08:00
|
|
|
from nonebot.plugin import PluginMetadata
|
2024-03-26 21:33:40 +08:00
|
|
|
|
|
|
|
from .core import *
|
2024-03-19 00:27:40 +08:00
|
|
|
from .loader import *
|
2024-04-22 21:05:35 +08:00
|
|
|
from .dev_tools import *
|
2024-03-24 19:57:27 +08:00
|
|
|
|
2024-03-18 18:21:56 +08:00
|
|
|
__author__ = "snowykami"
|
|
|
|
__plugin_meta__ = PluginMetadata(
|
2024-04-12 13:07:19 +08:00
|
|
|
name="轻雪核心插件",
|
2024-03-18 18:21:56 +08:00
|
|
|
description="轻雪主程序插件,包含了许多初始化的功能",
|
|
|
|
usage="",
|
|
|
|
homepage="https://github.com/snowykami/LiteyukiBot",
|
2024-03-21 14:52:02 +08:00
|
|
|
extra={
|
2024-03-24 19:15:49 +08:00
|
|
|
"liteyuki" : True,
|
2024-03-22 07:44:41 +08:00
|
|
|
"toggleable": False,
|
2024-03-21 14:52:02 +08:00
|
|
|
}
|
2024-03-18 18:21:56 +08:00
|
|
|
)
|
|
|
|
|
2024-04-24 15:12:26 +08:00
|
|
|
from ..utils.base.language import Language, get_default_lang_code
|
|
|
|
|
2024-04-03 01:03:25 +08:00
|
|
|
print("\033[34m" + r"""
|
|
|
|
__ ______ ________ ________ __ __ __ __ __ __ ______
|
|
|
|
/ | / |/ |/ |/ \ / |/ | / |/ | / |/ |
|
|
|
|
$$ | $$$$$$/ $$$$$$$$/ $$$$$$$$/ $$ \ /$$/ $$ | $$ |$$ | /$$/ $$$$$$/
|
|
|
|
$$ | $$ | $$ | $$ |__ $$ \/$$/ $$ | $$ |$$ |/$$/ $$ |
|
|
|
|
$$ | $$ | $$ | $$ | $$ $$/ $$ | $$ |$$ $$< $$ |
|
|
|
|
$$ | $$ | $$ | $$$$$/ $$$$/ $$ | $$ |$$$$$ \ $$ |
|
|
|
|
$$ |_____ _$$ |_ $$ | $$ |_____ $$ | $$ \__$$ |$$ |$$ \ _$$ |_
|
|
|
|
$$ |/ $$ | $$ | $$ | $$ | $$ $$/ $$ | $$ |/ $$ |
|
|
|
|
$$$$$$$$/ $$$$$$/ $$/ $$$$$$$$/ $$/ $$$$$$/ $$/ $$/ $$$$$$/
|
|
|
|
""" + "\033[0m")
|
|
|
|
|
2024-04-15 20:21:50 +08:00
|
|
|
sys_lang = Language(get_default_lang_code())
|
2024-03-19 00:27:40 +08:00
|
|
|
nonebot.logger.info(sys_lang.get("main.current_language", LANG=sys_lang.get("language.name")))
|
2024-04-24 15:12:26 +08:00
|
|
|
# nonebot.logger.info(sys_lang.get("main.enable_webdash", URL=f"http://127.0.0.1:{config.get('port', 20216)}"))
|