mirror of
https://github.com/Jerryplusy/rc-plugin.git
synced 2025-10-14 08:09:19 +00:00
🐞 fix: 修复触发词
This commit is contained in:
parent
e534f58b56
commit
657e21957f
@ -17,7 +17,7 @@ export class songRequest extends plugin {
|
|||||||
priority: 300,
|
priority: 300,
|
||||||
rule: [
|
rule: [
|
||||||
{
|
{
|
||||||
reg: '^点歌|#?听[1-9][0-9]|#?听[0-9]*$',
|
reg: '^点歌|#?听[1-9][0-9]*|#?听[1-9]*$',
|
||||||
fnc: 'pickSong'
|
fnc: 'pickSong'
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
@ -236,7 +236,7 @@ export class songRequest extends plugin {
|
|||||||
if (e.bot?.sendUni) {
|
if (e.bot?.sendUni) {
|
||||||
await e.group.fs.upload(path);
|
await e.group.fs.upload(path);
|
||||||
} else {
|
} else {
|
||||||
await e.group.sendFile(path);
|
await e.group.sendFile(path);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
Loading…
x
Reference in New Issue
Block a user