fix
This commit is contained in:
parent
ccf21fc503
commit
ba33b32bb9
11
bot.go
11
bot.go
@ -833,17 +833,6 @@ func botShops(m *ChatWarsMessage) {
|
|||||||
}
|
}
|
||||||
|
|
||||||
func botBrewItem(m *ChatWarsMessage, r *regexp.Regexp) {
|
func botBrewItem(m *ChatWarsMessage, r *regexp.Regexp) {
|
||||||
if hasUnfinishedJob(cacheObjSubType[`job_brew_item`]) {
|
|
||||||
c := TGCommand{
|
|
||||||
Type: commandReplyMsg,
|
|
||||||
Text: "Brew Item is already running",
|
|
||||||
FromMsgID64: m.ID64,
|
|
||||||
FromChatID64: m.ChatID64,
|
|
||||||
}
|
|
||||||
TGCmdQueue <- c
|
|
||||||
return
|
|
||||||
}
|
|
||||||
|
|
||||||
clt, err := getLockedIdleClient()
|
clt, err := getLockedIdleClient()
|
||||||
if err != nil {
|
if err != nil {
|
||||||
c := TGCommand{
|
c := TGCommand{
|
||||||
|
Loading…
Reference in New Issue
Block a user