This repository has been archived by the owner on Aug 15, 2023. It is now read-only.
-
相关代码如下: if (hasEntrance(msg.text, "tools_master", entrance)) {
const isGroup = "group" === type;
const typestr = isGroup ? "群" : "好友";
msg.bot.boardcast(`主人发送了一条${typestr}广播:\n${text}`, type);
} 主要是想知道两个问题:
|
Beta Was this translation helpful? Give feedback.
Answered by
Arondight
Aug 13, 2022
Replies: 1 comment 2 replies
-
前缀自己改吧,没做配置,广播多行当前不支持,因为正则没有匹配多行,需要改一下正则 |
Beta Was this translation helpful? Give feedback.
2 replies
Answer selected by
Arondight
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
前缀自己改吧,没做配置,广播多行当前不支持,因为正则没有匹配多行,需要改一下正则