mirror of
https://github.com/Jerryplusy/crystelf-plugin.git
synced 2025-07-04 14:19:19 +00:00
去掉奇怪的unicode控制符
This commit is contained in:
parent
1ef55237fb
commit
6f94537295
@ -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: [],
|
||||||
};
|
};
|
||||||
|
|
||||||
|
@ -88,7 +88,7 @@ class Handler {
|
|||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* 广播消息
|
* 广播消息,感觉没啥用,用core的广播代替了
|
||||||
* @param client
|
* @param client
|
||||||
* @param msg
|
* @param msg
|
||||||
* @returns {Promise<void>}
|
* @returns {Promise<void>}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user