diff --git a/GenshinUID/__init__.py b/GenshinUID/__init__.py index d5635b66..56022b9e 100644 --- a/GenshinUID/__init__.py +++ b/GenshinUID/__init__.py @@ -12,6 +12,7 @@ from nonebot.log import logger from nonebot.adapters import Bot from nonebot.matcher import Matcher from nonebot.permission import SUPERUSER +from nonebot.plugin import PluginMetadata from nonebot.internal.adapter import Event from websockets.exceptions import ConnectionClosed from nonebot import on, require, on_notice, on_message, on_fullmatch @@ -43,6 +44,15 @@ connect_core = on_fullmatch( block=True, ) +__plugin_meta__ = PluginMetadata( + name="GenshinUID", + description="SayuCore连接器, 支持大部分适配器的全功能插件", + usage="支持大部分适配器连接SayuCore", + type="application", + homepage="https://docs.sayu-bot.com", + supported_adapters=None, +) + gsclient: Optional[GsClient] = None command_start = deepcopy(driver.config.command_start) command_start.discard('') diff --git a/pyproject.toml b/pyproject.toml index 14c635ff..456c13d4 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -23,7 +23,7 @@ build-backend = "poetry.core.masonry.api" [tool.poetry] name = "nonebot-plugin-genshinuid" -version = "4.6.0" +version = "4.6.1" description = "支持OneBot(QQ)、OneBotV12、QQ频道、微信、KOOK(开黑啦)、Telegram(电报)、FeiShu(飞书)、DoDo、Villa(米游社大别野)、Discord的全功能NoneBot2原神插件" authors = ["KimigaiiWuyi <444835641@qq.com>"] license = "GPL-3.0-or-later"