去掉奇怪的unicode控制符

This commit is contained in:
Jerry 2025-05-15 13:21:49 +08:00
parent 1ef55237fb
commit 6f94537295
2 changed files with 2 additions and 2 deletions

View File

@ -14,7 +14,7 @@ const botControl = {
const botInfo = { const botInfo = {
uin: bot.uin, uin: bot.uin,
nickName: bot.nickname, nickName: bot.nickname.replace(/[\u200E-\u200F\u202A-\u202E\u2066-\u2069]/g, ''),
groups: [], groups: [],
}; };

View File

@ -88,7 +88,7 @@ class Handler {
} }
/** /**
* 广播消息 * 广播消息感觉没啥用用core的广播代替了
* @param client * @param client
* @param msg * @param msg
* @returns {Promise<void>} * @returns {Promise<void>}