适配QQ频道机器人/指令
 Signed-off-by: 陈炳好 <batvbs@qq.com>
This commit is contained in:
parent
0adcb79973
commit
50bc28d2e6
|
@ -392,7 +392,7 @@ class PluginsLoader {
|
|||
for (let val of e.message) {
|
||||
switch (val.type) {
|
||||
case 'text':
|
||||
e.msg = (e.msg || '') + (val.text || '').replace(/^\s*[#井#]+\s*/, '#').replace(/^\s*[\\*※*]+\s*/, '*').trim()
|
||||
e.msg = (e.msg || '') + (val.text || '').replace(/^\s*[#井#\/]+\s*/, '#').replace(/^\s*[\\*※*]+\s*/, '*').trim()
|
||||
break
|
||||
case 'image':
|
||||
if (!e.img) {
|
||||
|
|
Loading…
Reference in New Issue