diff --git a/lib/core/botControl.js b/lib/core/botControl.js index bfbc148..1a85bf8 100644 --- a/lib/core/botControl.js +++ b/lib/core/botControl.js @@ -14,7 +14,7 @@ const botControl = { const botInfo = { uin: bot.uin, - nickName: bot.nickname, + nickName: bot.nickname.replace(/[\u200E-\u200F\u202A-\u202E\u2066-\u2069]/g, ''), groups: [], }; diff --git a/models/ws/handler.js b/models/ws/handler.js index 3876ed8..4a3b5c7 100644 --- a/models/ws/handler.js +++ b/models/ws/handler.js @@ -88,7 +88,7 @@ class Handler { } /** - * 广播消息 + * 广播消息,感觉没啥用,用core的广播代替了 * @param client * @param msg * @returns {Promise}