chat with yinying
Project description
- @Author : huanxin996
- @Date : 2024-4-17
- @LastEditors : huanxin996
- @LastEditTime : 2024-4-22
- @Description : None
- @GitHub : https://github.com/huanxin996 -->
nonebot_plugin_hx-yinying
✨ Hx vs YinYing(在线与银影进行对话的插件) ✨
安装
pip安装
pip install nonebot-plugin-hx-yinying
nb plugin安装
nb plugin install nonebot-plugin-hx-yinying
使用方式
通用:
- @Bot 或者回复即可
OneBot:
- @Bot
- 回复Bot
配置项
[!WARNING] GitHub 仓库中的文档为最新 DEV 版本,配置方式请参考 PyPI 上的文档。
[!WARNING] 秩乱(乱乱)的联系方式如下,QQ:1660466270,官方qq群聊:175334224 官网链接 .
[!WARNING] 请注意,该项目是接入了乱乱的项目,你需要遵守api使用的 规范。
配置方式:直接在 NoneBot 全局配置文件中添加以下配置项即可。
yinying_appid
- 类型:
str
- 默认值:
None
- 说明:你的appid
- 重要:必填
yinying_token
- 类型:
str
- 默认值:
None
- 说明:这里写你找秩乱获取到的api_key
- 重要:必填
hx_api_yinying(已于0.0.7版本移除)
- 类型:
str
- 默认值:
None
- 说明:yinying的api地址
- 重要:必填
yinying_model(已于0.0.7版本移除)
- 类型:
str
- 默认值:
None
- 说明:选择使用银影的模型
- 注意 该配置项即将移除(转为插件内配置!)
hx_path
- 类型:
str
- 默认值:
None
- 说明:银影对话的用户数据存储路径(不写将使用默认配置)
hx_reply(已于0.0.7版本移除)
- 类型:
bool
- 默认值:
False
- 说明:bot发送chat消息时是否回复
- 注意:该项启用时hx_reply_at将被忽略
hx_reply_at(已于0.0.7版本移除)
- 类型:
bool
- 默认值:
False
- 说明:bot发送chat消息时不回复时是否艾特
yinying_limit(已于0.0.7版本移除)
- 类型:
int
- 默认值:
12
- 说明:对于银影对话限制的次数
配置文件示例(默认模板)
yinying_appid=你的appid
yinying_token=你的token(不带bearer)
Contributors ✨
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Close
Hashes for nonebot-plugin-hx-yinying-1.0.2.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | c2ea3742bade932e9cf8646f439af2130f461122806a5c43b7fa31c3dbd794a4 |
|
MD5 | 1e7be1a1c086081532802f539aa2704e |
|
BLAKE2b-256 | 5e19e67c7148c0d204cae48c82714be3d18b210f705825a92ec234b5bf9577fe |
Close
Hashes for nonebot_plugin_hx_yinying-1.0.2-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 3dc8edec319b749a80b6b7061b06e606a8d78368d31cf0d3bc97fc0fdc5c95d5 |
|
MD5 | f57e11dc66f2c275e39065493df2f13c |
|
BLAKE2b-256 | 8140edb932b1fa1f8f77333fe5fed40775743bff705a78c3f4e129c4e6142de0 |