细节优化
This commit is contained in:
parent
bfa67e2deb
commit
57f3741d78
|
@ -155,6 +155,12 @@ ws://localhost:2536/GSUIDCore
|
|||
|
||||
</details>
|
||||
|
||||
<details><summary>代理</summary>
|
||||
|
||||
[TRSS-Yunzai Proxy Plugin](../../../Yunzai-Proxy-Plugin)
|
||||
|
||||
</details>
|
||||
|
||||
6.设置主人:发送 `#设置主人`,后台日志获取验证码并发送
|
||||
|
||||
## 致谢
|
||||
|
|
|
@ -443,10 +443,10 @@ Bot.adapter.push(new class ComWeChatAdapter {
|
|||
|
||||
load() {
|
||||
Bot.wss[this.path] = new WebSocketServer({ noServer: true })
|
||||
Bot.wss[this.path].on("connection", ws => {
|
||||
ws.on("error", logger.error)
|
||||
ws.on("message", data => this.message(data, ws))
|
||||
})
|
||||
Bot.wss[this.path].on("connection", ws => ws
|
||||
.on("error", logger.error)
|
||||
.on("message", data => this.message(data, ws))
|
||||
)
|
||||
return true
|
||||
}
|
||||
})
|
|
@ -265,10 +265,10 @@ Bot.adapter.push(new class GSUIDCoreAdapter {
|
|||
|
||||
load() {
|
||||
Bot.wss[this.path] = new WebSocketServer({ noServer: true })
|
||||
Bot.wss[this.path].on("connection", ws => {
|
||||
ws.on("error", logger.error)
|
||||
ws.on("message", data => this.message(data, ws))
|
||||
})
|
||||
Bot.wss[this.path].on("connection", ws => ws
|
||||
.on("error", logger.error)
|
||||
.on("message", data => this.message(data, ws))
|
||||
)
|
||||
return true
|
||||
}
|
||||
})
|
|
@ -852,10 +852,10 @@ Bot.adapter.push(new class gocqhttpAdapter {
|
|||
|
||||
load() {
|
||||
Bot.wss[this.path] = new WebSocketServer({ noServer: true })
|
||||
Bot.wss[this.path].on("connection", ws => {
|
||||
ws.on("error", logger.error)
|
||||
ws.on("message", data => this.message(data, ws))
|
||||
})
|
||||
Bot.wss[this.path].on("connection", ws => ws
|
||||
.on("error", logger.error)
|
||||
.on("message", data => this.message(data, ws))
|
||||
)
|
||||
return true
|
||||
}
|
||||
})
|
|
@ -13,10 +13,12 @@ const list = {
|
|||
"earth-k-plugin" :"https://gitee.com/SmallK111407/earth-k-plugin",
|
||||
"xiaofei-plugin" :"https://gitee.com/xfdown/xiaofei-plugin",
|
||||
"xiaoyao-cvs-plugin":"https://gitee.com/Ctrlcvs/xiaoyao-cvs-plugin",
|
||||
"mysVilla-Plugin" :"https://gitee.com/TimeRainStarSky/Yunzai-mysVilla-Plugin",
|
||||
"Telegram-Plugin" :"https://gitee.com/TimeRainStarSky/Yunzai-Telegram-Plugin",
|
||||
"Discord-Plugin" :"https://gitee.com/TimeRainStarSky/Yunzai-Discord-Plugin",
|
||||
"QQGuild-Plugin" :"https://gitee.com/TimeRainStarSky/Yunzai-QQGuild-Plugin",
|
||||
"WeChat-Plugin" :"https://gitee.com/TimeRainStarSky/Yunzai-WeChat-Plugin",
|
||||
"Proxy-Plugin" :"https://gitee.com/TimeRainStarSky/Yunzai-Proxy-Plugin",
|
||||
"ICQQ-Plugin" :"https://gitee.com/TimeRainStarSky/Yunzai-ICQQ-Plugin",
|
||||
"KOOK-Plugin" :"https://gitee.com/TimeRainStarSky/Yunzai-KOOK-Plugin",
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue