mirror of
https://github.com/Jerryplusy/rc-plugin.git
synced 2025-10-14 08:09:19 +00:00
🦄 reactor: 优化触发词
This commit is contained in:
parent
987c9a3c84
commit
2d8defa1e9
@ -112,8 +112,8 @@ export class songRequest extends plugin {
|
||||
}
|
||||
})
|
||||
} else if (await redisGetKey(REDIS_YUNZAI_SONGINFO) != []) {
|
||||
if (e.msg.replace(/\s+/g, "").match(/^听(\d+)/)) {
|
||||
const pickNumber = e.msg.replace(/\s+/g, "").match(/^听(\d+)/)[1] - 1
|
||||
if (e.msg.replace(/\s+/g, "").match(/^#听(\d+)/)) {
|
||||
const pickNumber = e.msg.replace(/\s+/g, "").match(/^#听(\d+)/)[1] - 1
|
||||
let group_id = e.group.group_id
|
||||
if (!group_id) return
|
||||
let songInfo = await redisGetKey(REDIS_YUNZAI_SONGINFO)
|
||||
|
Loading…
x
Reference in New Issue
Block a user