qq_bot/handler/health/health.go
2024-10-20 02:46:56 +08:00

21 lines
382 B
Go

package health
import (
"git.lxtend.com/qqbot/constants"
"git.lxtend.com/qqbot/handler"
"git.lxtend.com/qqbot/model"
)
func init() {
handler.RegisterHandler("health", health, constants.LEVEL_USER)
}
func health(msg model.Message) (reply model.Reply) {
heathResult := ""
return model.Reply{
ReplyMsg: heathResult,
ReferOriginMsg: true,
FromMsg: msg,
}
}