MCPcopy Create free account
hub / github.com/FloatTech/ZeroBot-Plugin-Playground / onmessage

Function onmessage

plugin/exJiangRed/message.go:178–180  ·  view source on GitHub ↗

可以填入Handle的封装好的函数

(ctx *zero.Ctx)

Source from the content-addressed store, hash-verified

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

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected