https://github.com/exsper/sillyresponsebot
只会回答选择性问题的koishi插件(小阿日专用)
https://github.com/exsper/sillyresponsebot
coolq koishi plugin qq-bot
Last synced: 11 months ago
JSON representation
只会回答选择性问题的koishi插件(小阿日专用)
- Host: GitHub
- URL: https://github.com/exsper/sillyresponsebot
- Owner: Exsper
- Created: 2020-02-01T08:05:12.000Z (almost 6 years ago)
- Default Branch: master
- Last Pushed: 2020-05-17T08:05:59.000Z (over 5 years ago)
- Last Synced: 2025-01-02T00:10:46.929Z (about 1 year ago)
- Topics: coolq, koishi, plugin, qq-bot
- Language: JavaScript
- Homepage:
- Size: 15.8 MB
- Stars: 2
- Watchers: 2
- Forks: 1
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# SillyResponseBot
[](https://codebeat.co/projects/github-com-exsper-sillyresponsebot-master)
只会回答选择性问题的koishi插件
## install
```sh
npm install Exsper/SillyResponseBot
```
## usage
必须先安装[koishi](https://koishi.js.org/guide/getting-started.html#%E8%B0%83%E7%94%A8-koishi),然后在koishi中引用该插件
```javascript
app.plugin(require('SillyResponseBot'));
```
or
```javascript
module.exports = {
plugins: [
['SillyResponseBot'],
],
}
```
## 注意
本插件默认自称是小阿日
如果需要更改称谓,请修改objects/sendMessageObject.js中的“小阿日”
## 自定义词典
本插件使用segment分词
在segmentUserDict文件夹下为自定义词典,可以自行修改