fix rerun
This commit is contained in:
parent
614dc8333e
commit
1ceaa20265
21
bot.go
21
bot.go
@ -833,17 +833,18 @@ 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{
|
if hasUnfinishedJob(cacheObjSubType[`job_brew_item`]) {
|
||||||
Type: commandReplyMsg,
|
c := TGCommand{
|
||||||
Text: "Brew Item is already running",
|
Type: commandReplyMsg,
|
||||||
FromMsgID64: m.ID64,
|
Text: "Brew Item is already running",
|
||||||
FromChatID64: m.ChatID64,
|
FromMsgID64: m.ID64,
|
||||||
|
FromChatID64: m.ChatID64,
|
||||||
|
}
|
||||||
|
TGCmdQueue <- c
|
||||||
|
return
|
||||||
}
|
}
|
||||||
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