Commit 079e26d1 authored by xuchaozou's avatar xuchaozou

feat: 丰富打开指令

parent ba410954
Pipeline #86431 passed with stages
...@@ -4,7 +4,7 @@ class AwakenDirective extends BaseDirective{ ...@@ -4,7 +4,7 @@ class AwakenDirective extends BaseDirective{
static name = "熊猫熊猫唤醒" static name = "熊猫熊猫唤醒"
match () { match () {
const {text} = this const {text} = this
if(/熊猫熊猫/.test(text)) { if(/熊猫|什么/.test(text)) {
return true return true
} }
return false return false
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment