test
This commit is contained in:
parent
fc87f5675d
commit
03552d18ed
2
bot.go
2
bot.go
@ -705,7 +705,7 @@ func botGStock(m *ChatWarsMessage) {
|
|||||||
return
|
return
|
||||||
}
|
}
|
||||||
|
|
||||||
func botCraftItem(m *ChatWarsMessage) {
|
func botCraftItem(m *ChatWarsMessage, r *regexp.Regexp) {
|
||||||
clt, err := getLockedIdleClient()
|
clt, err := getLockedIdleClient()
|
||||||
if err != nil {
|
if err != nil {
|
||||||
c := TGCommand{
|
c := TGCommand{
|
||||||
|
@ -511,7 +511,7 @@ func SQLIdentifyMsgWorker(id int, objIds <-chan int64) {
|
|||||||
case cacheObjSubType[`msg_bot_g_stock`]:
|
case cacheObjSubType[`msg_bot_g_stock`]:
|
||||||
botGStock(m)
|
botGStock(m)
|
||||||
case cacheObjSubType[`msg_bot_craft_item`]:
|
case cacheObjSubType[`msg_bot_craft_item`]:
|
||||||
botCraftItem(m)
|
botCraftItem(m, r)
|
||||||
case cacheObjSubType[`msg_bot_craft_all`]:
|
case cacheObjSubType[`msg_bot_craft_all`]:
|
||||||
c := TGCommand{
|
c := TGCommand{
|
||||||
Type: commandReplyMsg,
|
Type: commandReplyMsg,
|
||||||
|
Loading…
Reference in New Issue
Block a user