This commit is contained in:
shoopea 2019-06-02 18:57:42 +08:00
parent b31c98f427
commit c06b94e8d9

8
obj.go
View File

@ -495,8 +495,12 @@ func getObjItemID(s string) int64 {
i := v.(ChatWarsItem)
return i.ObjID64
} else {
s := fmt.Sprintf("Object unknown : %s\n", s)
clientSendCWMsg(cfg.Bot.Admin, s)
w := TGCommand{
Type: commandSendMsg,
Text: fmt.Sprintf("Object unknown : %s\n", s),
ToUserID64: cfg.Bot.Admin,
}
TGCmdQueue <- w
return 0
}
}