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