!129 适配QQ频道机器人/指令

Merge pull request !129 from batvbs/N/A
This commit is contained in:
Kokomi 2023-11-22 17:36:36 +00:00 committed by Gitee
commit 4314a9f95b
No known key found for this signature in database
GPG Key ID: 173E9B9CA92EEF8F
1 changed files with 1 additions and 1 deletions

View File

@ -392,7 +392,7 @@ class PluginsLoader {
for (let val of e.message) { for (let val of e.message) {
switch (val.type) { switch (val.type) {
case 'text': 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 break
case 'image': case 'image':
if (!e.img) { if (!e.img) {