go-bot/workers/emm.go

25 lines
498 B
Go
Raw Normal View History

2024-04-01 09:42:29 +08:00
package workers
func init() {
RegisterWorkerFactory("emm", func(parms []string, uid, gid, role, mid, rawMsg string) Worker {
return &Emm{
StdAns: NewStdAns(parms, uid, gid, role, mid, rawMsg),
}
})
}
type Emm struct {
2024-04-01 09:42:29 +08:00
*StdAns
}
func (a *Emm) GetMsg() string {
return "-1"
// a.BlockGroup = []string{"874769998"}
2024-04-01 09:42:29 +08:00
// fmt.Println(a.CheckPermission())
// if a.CheckPermission() != "0" {
// return a.CheckPermission()
// }
// return "咱也不知道" + a.Parms[0] + "是啥呢~"
2024-04-01 09:42:29 +08:00
}