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