Skip to content

Commit

Permalink
v3.5.2, fix: #166, #169; feat: #165, #167, #168;
Browse files Browse the repository at this point in the history
  • Loading branch information
Giftia authored May 24, 2022
2 parents fd9c78e + 3e12137 commit d61af33
Show file tree
Hide file tree
Showing 16 changed files with 15,163 additions and 13,023 deletions.
4 changes: 0 additions & 4 deletions .eslintrc.js
Original file line number Diff line number Diff line change
Expand Up @@ -3,10 +3,6 @@ module.exports = {
"ecmaVersion": "latest"
},
"rules": {
"indent": [
"warn",
2
],
"linebreak-style": [
"warn",
"windows"
Expand Down
5 changes: 0 additions & 5 deletions 127.0.0.1.url

This file was deleted.

24 changes: 23 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -342,7 +342,29 @@ npm pkg
| 余薪 | 10 | 不知道做不做得出 ai 思考性行为... |
| 爱发电用户\_qr83 | 10 | xxxx)hhjjiskejeududnn3kssioskwnssj |

对本项目提供帮助的致谢名单(排名不分先后):https://niconi.co.ni/https://www.layuion.com/https://lceda.cn/https://www.dnspod.cn/ 、 Daisy_Liu 、 http://blog.luckly-mjw.cn/tool-show/iconfont-preview/index.htmlhttps://ihateregex.io/https://www.maoken.com/https://www.ngrok.cc/https://uptimerobot.com/https://shields.io/https://ctf.bugku.com/https://blog.squix.org/https://hostker.com/https://www.tianapi.com/https://api.sumt.cn/https://github.com/Mrs4s/go-cqhttphttps://colorhunt.co/https://github.com/https://gitee.com/https://github.com/windrises/dialogue.moehttps://api.oddfar.com/https://github.com/ssp97https://github.com/mxh-mini-apps/mxh-cp-storieshttps://github.com/Sora233/DDBOT 、 还有我的朋友们,以及倾心分享知识的各位
### 对本项目提供帮助的致谢名单(排名不分先后):
- https://niconi.co.ni/
- https://www.layuion.com/
- https://lceda.cn/
- https://www.dnspod.cn/
- https://blog.csdn.net/qq_40715266
- http://blog.luckly-mjw.cn/tool-show/iconfont-preview/index.html
- https://ihateregex.io/
- https://www.maoken.com/
- https://uptimerobot.com/
- https://shields.io/
- https://ctf.bugku.com/
- https://hostker.com/
- https://www.tianapi.com/
- https://api.sumt.cn/
- https://github.com/Mrs4s/go-cqhttp
- https://colorhunt.co/
- https://gitee.com/
- https://github.com/windrises/dialogue.moe
- https://github.com/ssp97
- https://github.com/mxh-mini-apps/mxh-cp-stories
- https://github.com/Sora233/DDBOT
- 以及感谢我的花花儿、朋友们,以及倾心分享知识的各位。

---

Expand Down
9 changes: 9 additions & 0 deletions config/config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,9 @@ System:
#接入哔哩哔哩直播聊天开关:
CONNECT_BILIBILI_LIVE_SWITCH: false

#接入QQ频道开关:
CONNECT_QQ_GUILD_SWITCH: false

#web端使用的本机端口,如果有冲突的话请尝试更改:
WEB_PORT: 80

Expand All @@ -31,6 +34,12 @@ ApiKey:
#息知频道key,申请地址 https://xz.qqoq.net/
XIZHI_CHANNEL_KEY: ""

#QQ频道BotAppID,申请地址 https://q.qq.com/,获取地址 https://q.qq.com/bot/#/developer/developer-setting
QQ_GUILD_APP_ID: ""

#QQ频道机器人令牌,申请地址 https://q.qq.com/,获取地址 https://q.qq.com/bot/#/developer/developer-setting
QQ_GUILD_TOKEN: ""

#qqBot配置
qqBot:
#qqBot使用的qq帐号:
Expand Down
29 changes: 25 additions & 4 deletions config/constants.js
Original file line number Diff line number Diff line change
Expand Up @@ -21,12 +21,33 @@ module.exports = Object.freeze({
fake_forward_reg: new RegExp("^/强制迫害.*"), //匹配伪造转发指令
approve_group_invite_reg: new RegExp("^/批准 (.*)"), //匹配批准加群指令
test_reply_reg: new RegExp("\\[CQ:reply,id:.*复读"), //匹配回复测试指令
life_restart_reg: new RegExp("^人生重开"), //匹配人生重开指令
roll_talents_reg: new RegExp("^选择天赋 (.*)"), //匹配选择天赋指令
set_points_reg: new RegExp("^分配属性 (.*)"), //匹配分配属性指令
only_0to9_reg: new RegExp("^[0-9]$"), //匹配仅0-9

//全局常量
TTS_FILE_RECV_PATH: "./static/xiaoye/live_latest_reply.txt", //哔哩哔哩字幕文件存储路径
HTML_PATH: "/static/index.html", //首页
AUDIO_START: 0, //AudioControl 开始播放操作
//winston 日志配置
LOG_LEVELS: {
levels: {
error: 0,
warn: 1,
info: 2,
http: 3,
verbose: 4,
debug: 5,
silly: 6,
},
colors: {
error: "red",
warn: "orange",
info: "yellow",
http: "green",
verbose: "blue",
debug: "gray",
silly: "gray",
},
},
HELP_CONTENT:
"主人你好,我是小夜。欢迎使用沙雕Ai聊天系统 ChatDACS (Chatbot : shaDiao Ai Chat System)。在这里,你可以与经过 2w+用户调教养成的人工智能机器人小夜实时聊天,它有着令人激动的、实用的在线涩图功能,还可以和在线的其他人分享你的图片、视频与文件。现在就试试使用在聊天框下方的便捷功能栏吧,功能栏右侧还有更多功能。",

});
Loading

0 comments on commit d61af33

Please sign in to comment.