test
This commit is contained in:
parent
b31c98f427
commit
c06b94e8d9
8
obj.go
8
obj.go
@ -495,8 +495,12 @@ func getObjItemID(s string) int64 {
|
|||||||
i := v.(ChatWarsItem)
|
i := v.(ChatWarsItem)
|
||||||
return i.ObjID64
|
return i.ObjID64
|
||||||
} else {
|
} else {
|
||||||
s := fmt.Sprintf("Object unknown : %s\n", s)
|
w := TGCommand{
|
||||||
clientSendCWMsg(cfg.Bot.Admin, s)
|
Type: commandSendMsg,
|
||||||
|
Text: fmt.Sprintf("Object unknown : %s\n", s),
|
||||||
|
ToUserID64: cfg.Bot.Admin,
|
||||||
|
}
|
||||||
|
TGCmdQueue <- w
|
||||||
return 0
|
return 0
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user