Giter VIP home page Giter VIP logo

nonebot-plugin-pingti's Introduction

NoneBotPluginLogo

NoneBotPluginText

NoneBot-Plugin-PingTi

✨ 让 AI 帮你寻找更低价的购物搜索词 ✨

python pdm-managed wakatime
Pydantic Version 1 Or 2 license pypi pypi download

📖 简介

节选自原网站

同一件商品,不同的搜索词,价格可能会天差地别。
这个工具旨在帮助你找到最便宜的搜索词:
输入你想搜索的商品名,AI 会给出低价的替代品,结果可能不准,开心就好 :)
经济寒冬,商品可以平替,但你的生活无法被平替。

💿 安装

以下提到的方法 任选其一 即可

[推荐] 使用 nb-cli 安装 在 nonebot2 项目的根目录下打开命令行, 输入以下指令即可安装
nb plugin install nonebot-plugin-pingti
使用包管理器安装 在 nonebot2 项目的插件目录下, 打开命令行, 根据你使用的包管理器, 输入相应的安装命令
pip
pip install nonebot-plugin-pingti
pdm
pdm add nonebot-plugin-pingti
poetry
poetry add nonebot-plugin-pingti
conda
conda install nonebot-plugin-pingti

打开 nonebot2 项目根目录下的 pyproject.toml 文件, 在 [tool.nonebot] 部分的 plugins 项里追加写入

[tool.nonebot]
plugins = [
    # ...
    "nonebot_plugin_pingti"
]

⚙️ 配置

在 NoneBot2 项目的.env文件中添加下表中的必填配置

配置项 必填 默认值 说明
PINGTI_PROXY 请求使用的代理地址
PINGTI_REQUEST_TIMEOUT 5 请求超时时间,单位为秒
PINGTI_SEND_TIP True 缓存中不存在回答时是否发送提示消息
PINGTI_RECALL_TIP True 发送提示消息后是否自动撤回

🎉 使用

指令:平替

📞 联系

QQ:3076823485
Telegram:@lgc2333
吹水群:1105946125
邮箱:[email protected]

💡 鸣谢

  • 服务提供
  • 抄袭 借鉴

💰 赞助

赞助我

感谢大家的赞助!你们的赞助将是我继续创作的动力!

📝 更新日志

0.1.4

  • 修复 #2
  • 兼容 Pydantic V2

0.1.3

  • 修复无法使用的问题

0.1.2

  • 实现 #1
    • 重命名配置项 PROXY -> PINGTI_PROXY
    • 添加配置项 PINGTI_SEND_TIP
    • 添加配置项 PINGTI_RECALL_TIP

0.1.1

  • 优化部分逻辑

nonebot-plugin-pingti's People

Contributors

lgc2333 avatar

Stargazers

 avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar

Forkers

onimaimai

nonebot-plugin-pingti's Issues

启动报错

nb run后一直循环报错这个,导致nonebot无法启动
image

一点建议

image
撤回这个有点污染聊天记录,建议不撤回,或者不要那句话好点

PROXY这个会和别的插件设置混淆,导致连接不上,可以加个前缀好点

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.