This commit is contained in:
cdle
2021-09-16 16:51:54 +08:00
parent cac60b4f8d
commit dd46517c90
2 changed files with 7 additions and 1 deletions
+6
View File
@@ -33,6 +33,12 @@ var name = func() string {
}
var functions = []Function{
{
Rules: []string{"^name$"},
Handle: func(_ im.Sender) interface{} {
return name()
},
},
{
Rules: []string{"^升级$"},
Admin: true,