Package Exports
- kokkoro-plugin-hitokoto
- kokkoro-plugin-hitokoto/lib/index.js
This package does not declare an exports field, so the exports above have been automatically detected and optimized by JSPM instead. If any package subpath is missing, it is recommended to post an issue to the original package (kokkoro-plugin-hitokoto) to support the "exports" field. If that is not possible, create a JSPM override to customize the exports field for this package.
Readme
kokkoro-hitokoto
ヒトコト
安装
# 切换至 bot 目录
cd bot
# 安装 npm 包
npm i kokkoro-plugin-hitokoto在 kokkoro 成功运行并登录后,发送 enable hitokoto 即可为 bot 启用插件
使用 hitokoto update <key> <value> 可修改当前群聊的插件参数,例如关闭每日自动发送 hitokoto update auto_send false
参数
interface HitokotoOption {
// 在每天凌晨自动发送
auto_send: boolean;
// 一言接口 get 请求参数
param: string;
}更多参数可查看 hitokoto 官方文档