This commit is contained in:
shoopea 2020-01-27 12:40:33 +08:00
parent fc87f5675d
commit 03552d18ed
2 changed files with 2 additions and 2 deletions

2
bot.go
View File

@ -705,7 +705,7 @@ func botGStock(m *ChatWarsMessage) {
return
}
func botCraftItem(m *ChatWarsMessage) {
func botCraftItem(m *ChatWarsMessage, r *regexp.Regexp) {
clt, err := getLockedIdleClient()
if err != nil {
c := TGCommand{

View File

@ -511,7 +511,7 @@ func SQLIdentifyMsgWorker(id int, objIds <-chan int64) {
case cacheObjSubType[`msg_bot_g_stock`]:
botGStock(m)
case cacheObjSubType[`msg_bot_craft_item`]:
botCraftItem(m)
botCraftItem(m, r)
case cacheObjSubType[`msg_bot_craft_all`]:
c := TGCommand{
Type: commandReplyMsg,