chat with yinying
Project description
- @Author : huanxin996
- @Date : 2024-4-17
- @LastEditors : huanxin996
- @LastEditTime : 2024-4-26
- @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
指令集
/hx
- 别名:chat
- 主要对话命令
/刷新对话
- 别名:clear
- 主动刷新对话
/导出对话
- 别名:getchat
- 导出对话记录,没有对话记录会出错。
/设置全局配置
- 别名:设置配置全局,globalset
- 设置bot的全局配置
/导出全局配置
- 别名:getset_global
- 导出bot的全局配置
- 该命令包含在"设置全局配置"里
/模型列表
- 别名:modellist,chat模型列表
- 发送bot可用模型
/切换模型 [模型id]
- 别名:qhmodel,切换chat模型,模型切换
- 切换bot当前使用的模型
- 私聊群聊动态响应,如果在群内输入则切换群内加载的模型,私聊输入则切换私聊的。
/easycyber
- 别名:easycyber设置,hxworld
- 模型easycyberfurry主要配置
- 内有多个指令
/控制台操作
- 别名:管理控制台,setstart
- 模型easycyberfurry的角色投稿管理,即将更新cyber的角色投稿管理
- 内有多个指令
/确认版本
- 别名:旅行伙伴确认,版本确认
- 确认bot当前使用的版本和当前加载的模型。区分群聊和私聊动态响应
/sd [名称] [设定]
- 别名:旅行伙伴加入,设定加入
- [名称]可为空,即发送 旅行伙伴加入 [设定]
- [设定]不可为空,必填
- 载入用户的设定信息和自定义昵称
配置项
[!WARNING] GitHub 仓库中的文档为最新 DEV 版本,配置方式请参考 PyPI 上的文档。
[!WARNING] 秩乱(乱乱)的联系方式如下,QQ:1660466270,官方qq群聊:175334224 官网链接 .
[!WARNING] 请注意,该项目是接入了乱乱的项目,你需要遵守api使用的 规范。
配置方式:直接在 NoneBot 全局配置文件中添加以下配置项即可。
配置项列表
yinying_appid
- 类型:
str
- 默认值:
None
- 说明:你的appid
- 重要:必填
yinying_token
- 类型:
str
- 默认值:
None
- 说明:这里写你找秩乱获取到的api_key
- 重要:必填
hx_path
- 类型:
str
- 默认值:
None
- 说明:这里是插件本地配置的存储目录
- 重要:非必填
SUPERUSERS
- 类型:
list
- 默认值:
None
- 说明:这里是超级管理员(插件)
- 重要:必填(你需要这个来管理该插件)
配置文件示例(默认模板)
yinying_appid=你的appid
yinying_token=你的token(不带bearer)
hx_path=C:\Users\user\Desktop
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.1.0.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 201ba4846b9a2e55cc6be7dc7cf44c3713b5a76e3fca39bf0635e2cdfcfda1ee |
|
MD5 | 25f9eabfc54a5f89f22de3f3ea66cebe |
|
BLAKE2b-256 | c5583f9f5f5cb7cfe48ea06e238ae63101295dde90aa408f5e3bcbaa6135c16c |
Close
Hashes for nonebot_plugin_hx_yinying-1.1.0-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 117501468d59c2f53a981c1e089842ebfca6fb3c0d784cce27d87e620298723b |
|
MD5 | 2b064ca5bcd5c7034f4870f3a2aea760 |
|
BLAKE2b-256 | a163d1213aed51f755bb8922cd9054828727e2cae638be2bf1253eb17a8acae7 |