mirror of
https://github.com/LiteyukiStudio/LiteyukiBot.git
synced 2024-11-11 06:27:23 +08:00
36 lines
1.5 KiB
Python
36 lines
1.5 KiB
Python
from nonebot.plugin import PluginMetadata
|
|
|
|
from .core import *
|
|
from .loader import *
|
|
from .dev_tools import *
|
|
|
|
__author__ = "snowykami"
|
|
__plugin_meta__ = PluginMetadata(
|
|
name="轻雪核心插件",
|
|
description="轻雪主程序插件,包含了许多初始化的功能",
|
|
usage="",
|
|
homepage="https://github.com/snowykami/LiteyukiBot",
|
|
extra={
|
|
"liteyuki" : True,
|
|
"toggleable": False,
|
|
}
|
|
)
|
|
|
|
from ..utils.base.language import Language, get_default_lang_code
|
|
|
|
print("\033[34m" + r"""
|
|
__ ______ ________ ________ __ __ __ __ __ __ ______
|
|
/ | / |/ |/ |/ \ / |/ | / |/ | / |/ |
|
|
$$ | $$$$$$/ $$$$$$$$/ $$$$$$$$/ $$ \ /$$/ $$ | $$ |$$ | /$$/ $$$$$$/
|
|
$$ | $$ | $$ | $$ |__ $$ \/$$/ $$ | $$ |$$ |/$$/ $$ |
|
|
$$ | $$ | $$ | $$ | $$ $$/ $$ | $$ |$$ $$< $$ |
|
|
$$ | $$ | $$ | $$$$$/ $$$$/ $$ | $$ |$$$$$ \ $$ |
|
|
$$ |_____ _$$ |_ $$ | $$ |_____ $$ | $$ \__$$ |$$ |$$ \ _$$ |_
|
|
$$ |/ $$ | $$ | $$ | $$ | $$ $$/ $$ | $$ |/ $$ |
|
|
$$$$$$$$/ $$$$$$/ $$/ $$$$$$$$/ $$/ $$$$$$/ $$/ $$/ $$$$$$/
|
|
""" + "\033[0m")
|
|
|
|
sys_lang = Language(get_default_lang_code())
|
|
nonebot.logger.info(sys_lang.get("main.current_language", LANG=sys_lang.get("language.name")))
|
|
# nonebot.logger.info(sys_lang.get("main.enable_webdash", URL=f"http://127.0.0.1:{config.get('port', 20216)}"))
|