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 { *StdAns } func (a *Emm) GetMsg() string { return "-1" // a.BlockGroup = []string{"874769998"} // fmt.Println(a.CheckPermission()) // if a.CheckPermission() != "0" { // return a.CheckPermission() // } // return "咱也不知道" + a.Parms[0] + "是啥呢~" }