This commit is contained in:
cdle
2021-09-20 17:25:36 +08:00
parent 99952564cd
commit 9b2d71b2c8
+1
View File
@@ -29,6 +29,7 @@ func init() {
server.SetMessageHandler(func(msg *message.MixMessage) *message.Reply {
//TODO
//回复消息:演示回复用户发送的消息
fmt.Println(msg.Content)
text := message.NewText(msg.Content)
return &message.Reply{MsgType: message.MsgTypeText, MsgData: text}
})