mirror of
https://github.com/suyiiyii/nonebot-bison.git
synced 2025-06-04 02:26:11 +08:00
⬆️ 支持nb2.0.0并更新metadata
This commit is contained in:
parent
8a5c52c444
commit
43a612da43
@ -18,7 +18,7 @@ from . import (
|
||||
types,
|
||||
utils,
|
||||
)
|
||||
from .plugin_config import plugin_config
|
||||
from .plugin_config import PlugConfig, plugin_config
|
||||
|
||||
__help__version__ = "0.7.3"
|
||||
nonebot_plugin_saa.enable_auto_select_bot()
|
||||
@ -26,13 +26,17 @@ nonebot_plugin_saa.enable_auto_select_bot()
|
||||
__help__plugin__name__ = "nonebot_bison"
|
||||
__usage__ = f"本bot可以提供b站、微博等社交媒体的消息订阅,详情请查看本bot文档,或者{'at本bot' if plugin_config.bison_to_me else '' }发送“添加订阅”订阅第一个帐号,发送“查询订阅”或“删除订阅”管理订阅"
|
||||
|
||||
__supported_adapters__ = nonebot_plugin_saa.__plugin_meta__.supported_adapters
|
||||
|
||||
__plugin_meta__ = PluginMetadata(
|
||||
name="Bison",
|
||||
description="通用订阅推送插件",
|
||||
usage=__usage__,
|
||||
extra={
|
||||
"version": __help__version__,
|
||||
},
|
||||
type="application",
|
||||
homepage="https://github.com/felinae98/nonebot-bison",
|
||||
config=PlugConfig,
|
||||
supported_adapters=__supported_adapters__,
|
||||
extra={"version": __help__version__, "docs": "https://nonebot-bison.netlify.app/"},
|
||||
)
|
||||
|
||||
__all__ = [
|
||||
|
308
poetry.lock
generated
308
poetry.lock
generated
File diff suppressed because it is too large
Load Diff
@ -21,7 +21,7 @@ classifiers = [
|
||||
|
||||
[tool.poetry.dependencies]
|
||||
python = ">=3.10,<4.0.0"
|
||||
nonebot2 = "^2.0.0-rc.4"
|
||||
nonebot2 = {version = "^2.0.0", extras = ["fastapi"]}
|
||||
httpx = ">=0.16.1"
|
||||
bs4 = "^0.0.1"
|
||||
tinydb = "^4.3.0"
|
||||
|
Loading…
x
Reference in New Issue
Block a user