mirror of
https://github.com/shanmiteko/LotteryAutoScript.git
synced 2026-06-04 21:01:17 +08:00
parent
52c6464650
commit
9c9bc18a44
@ -601,12 +601,11 @@ class Monitor extends Searcher {
|
|||||||
const copy_chat = getRandomOne(
|
const copy_chat = getRandomOne(
|
||||||
(await bili.getChat(rid, chat_type))
|
(await bili.getChat(rid, chat_type))
|
||||||
.filter(it => !(new RegExp(copy_blockword.join('|')).test(it[1])))
|
.filter(it => !(new RegExp(copy_blockword.join('|')).test(it[1])))
|
||||||
);
|
) || [";;;;;;;;;", chat || "!!!"];
|
||||||
chat = copy_chat[1]
|
chat = copy_chat[1]
|
||||||
.replace(
|
.replace(
|
||||||
new RegExp(copy_chat[0], 'g'),
|
new RegExp(copy_chat[0], 'g'),
|
||||||
global_var.get("myUNAME") || '')
|
global_var.get("myUNAME") || '')
|
||||||
|| "!!!"
|
|
||||||
}
|
}
|
||||||
|
|
||||||
status = await retryfn(
|
status = await retryfn(
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user