2024-04-01 09:42:29 +08:00
|
|
|
package workers
|
|
|
|
|
2024-07-05 22:33:55 +08:00
|
|
|
func init() {
|
|
|
|
RegisterWorkerFactory("emm", func(parms []string, uid, gid, role, mid, rawMsg string) Worker {
|
|
|
|
return &Emm{
|
|
|
|
StdAns: NewStdAns(parms, uid, gid, role, mid, rawMsg),
|
|
|
|
}
|
|
|
|
})
|
|
|
|
}
|
|
|
|
|
2024-04-02 16:37:26 +08:00
|
|
|
type Emm struct {
|
2024-04-01 09:42:29 +08:00
|
|
|
*StdAns
|
|
|
|
}
|
|
|
|
|
2024-04-02 16:37:26 +08:00
|
|
|
func (a *Emm) GetMsg() string {
|
|
|
|
return "-1"
|
|
|
|
// a.BlockGroup = []string{"874769998"}
|
2024-04-01 09:42:29 +08:00
|
|
|
|
2024-04-02 16:37:26 +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
|
|
|
}
|