Skip to main content

基于 HikariSearch 的又一个 Nonebot2 搜图插件

Project description

nonebot-plugin-hikarisearch

适用于 Nonebot2 的搜图插件

使用 HikariSearch 搜索

支持 SauceNAO、IqDB、ascii2d、E-Hentai、TraceMoe

安装

  • 使用 nb-cli
nb plugin install nonebot_plugin_hikarisearch
  • 使用 pip
pip install nonebot_plugin_hikarisearch

本插件使用了 go-cqhttpsend_group_forward_msgsend_private_forward_msg 接口 来发送合并转发消息,

发送私聊合并转发消息需要使用 v1.0.0-rc2 版本以上的 go-cqhttp

使用

以下命令需要加命令前缀 (默认为/),可自行设置为空

搜图/saucenao搜图/iqdb搜图/ascii2d搜图/ehentai搜图/tracemoe搜图 + 图片

默认为 saucenao搜图

或回复包含图片的消息,回复“搜图”

配置

可在 .env.xxx 文件中添加如下配置:

hikarisearch_api=xxx  # HikariSearch 站点,默认为 "https://hikari.obfs.dev"
hikarisearch_max_results=xxx  # 最多返回的结果数量,默认为 3
hikarisearch_withdraw=xxx  # 自动撤回时间,默认为 0 (不撤回),单位为秒

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

nonebot_plugin_hikarisearch-0.1.7.tar.gz (5.6 kB view hashes)

Uploaded Source

Built Distribution

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page