Skip to main content

nonebot插件 cyberfurry-与赛博狼狼对话吧~

Project description

NoneBotPluginLogo

NoneBotPluginText

nonebot-plugin-cyberfurry

✨ nonebot插件 cyberfurry 与赛博狼狼对话吧~ ✨

license pypi python

📖 介绍

官方网站 : CyberFurry

API申请请通过官方群聊找 群主 申请

⚠ 重要

请务必遵守 用户协议

指令表 配置项

easycf模型还未填坑,后续更新适配

💿 安装

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

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

plugins = ["nonebot_plugin_cyberfurry"]

⚙️ 配置

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

[!WARNING] 若未配置必填项此插件将不会工作!!!!

配置项 必填 默认值 说明
cf_appid API的appid
cf_token API的token
cubplugin_datadir "" 插件数据文件夹
cf_enableistome False 在消息是对bot时是否启用chat
cf_auto True 是否启用主动推送(你今天还没找银影聊天耶.png)
cf_autogrouplist [] 是否启用主动推送(群聊冒泡白名单列表)

🎉 使用

指令表

指令 权限 需要@ 范围 说明
/chat /cf /yy 群员 任意 触发对话
cf刷新对话 群员 任意 刷新对话
cf设定模型 群员 任意 设定使用的yinying模型,注意,此为个人配置
cf当前模型 群员 任意 查看当前模型
cf模型列表 群员 任意 查看已加载的模型(包括自定义)
cf设定 fur名字 fur种族 群员 任意 设定传入yinying的自身设定
(开启/关闭)对话推送服务 群员 私聊 让银影每天的(6,12,18,21)点十分找你然后抱怨你不找他聊天(在推送前触发对话则不会在下个时间点推送uwu)
cf导出对话 群员 任意 导出当前正在进行的对话,若携带对话ID参数则导出相应ID的对话(需要历史对话文件)

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_cyberfurry-1.6.3.tar.gz (53.7 kB view hashes)

Uploaded Source

Built Distribution

nonebot_plugin_cyberfurry-1.6.3-py3-none-any.whl (44.2 kB view hashes)

Uploaded Python 3

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