星铁命令适配中文星号
This commit is contained in:
parent
553dfda627
commit
5518e1b700
|
@ -369,7 +369,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