可以填入Handle的封装好的函数
(ctx *zero.Ctx)
| 176 | |
| 177 | // 可以填入Handle的封装好的函数 |
| 178 | func onmessage(ctx *zero.Ctx) { |
| 179 | ctx.SendChain(message.Text("完全匹配触发器2")) |
| 180 | } |
| 181 | |
| 182 | // 自定义的规则, 只有群组和私聊中能触发 |
| 183 | func customrule(ctx *zero.Ctx) bool { |
nothing calls this directly
no outgoing calls
no test coverage detected