Skip to content

Commit

Permalink
up
Browse files Browse the repository at this point in the history
  • Loading branch information
lgc2333 committed Aug 24, 2024
1 parent 60649bc commit 585d862
Showing 1 changed file with 6 additions and 2 deletions.
8 changes: 6 additions & 2 deletions YetAnotherPicSearch/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@

from nonebot.plugin import PluginMetadata, inherit_supported_adapters, require

require("nonebot_plugin_waiter")
require("nonebot_plugin_alconna")

from . import __main__ as __main__
Expand All @@ -10,14 +11,17 @@

load_search_func()

__version__ = "2.0.1"
__version__ = "2.0.1.post1"
__plugin_meta__ = PluginMetadata(
name="YetAnotherPicSearch",
description="基于 NoneBot2 及 PicImageSearch 的另一个 NoneBot 搜图插件",
usage=f"使用指令 `{config.search_keyword} -h` 查看帮助",
type="application",
homepage="https://github.com/lgc-NB2Dev/YetAnotherPicSearch",
config=ConfigModel,
supported_adapters=inherit_supported_adapters("nonebot_plugin_alconna"),
supported_adapters=inherit_supported_adapters(
"nonebot_plugin_waiter",
"nonebot_plugin_alconna",
),
extra={},
)

0 comments on commit 585d862

Please sign in to comment.