This commit is contained in:
shoopea 2019-06-02 21:51:00 +08:00
parent 255019b303
commit 947632679d

14
obj.go
View File

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