test
This commit is contained in:
parent
e6773bf850
commit
12694416a9
14
obj.go
14
obj.go
@ -615,12 +615,14 @@ func addObjItem(code string, name string, itemTypeID64 int64, weight int) (int64
|
||||
func getObjItemID(c string, n string) int64 {
|
||||
i := silentGetObjItemID(c, n)
|
||||
if i == 0 {
|
||||
w := TGCommand{
|
||||
Type: commandSendMsg,
|
||||
Text: fmt.Sprintf("Object unknown : %s - %s\n", c, n),
|
||||
ToUserID64: cfg.Bot.Admin,
|
||||
}
|
||||
TGCmdQueue <- w
|
||||
/*
|
||||
w := TGCommand{
|
||||
Type: commandSendMsg,
|
||||
Text: fmt.Sprintf("Object unknown : %s - %s\n", c, n),
|
||||
ToUserID64: cfg.Bot.Admin,
|
||||
}
|
||||
TGCmdQueue <- w
|
||||
*/
|
||||
}
|
||||
return i
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user