diff --git a/handler/headmaster/headmaster.go b/handler/headmaster/headmaster.go index 62353ad..2e9ca51 100644 --- a/handler/headmaster/headmaster.go +++ b/handler/headmaster/headmaster.go @@ -24,7 +24,7 @@ func init() { } func headmasterHandler(msg model.Message) (reply model.Reply) { - from := util.From(msg.GroupInfo.GroupId, msg.UserId) + from := util.From(msg.GroupInfo.GroupId, 0) if len(msg.RawMsg) > 7 && msg.RawMsg[0:7] == "校长 " { return model.Reply{ ReplyMsg: ask(from, msg.RawMsg[7:]),