fix
This commit is contained in:
parent
78a322ba7a
commit
fb95402aa0
2
job.go
2
job.go
@ -2255,7 +2255,7 @@ func jobBrewItem(j Job) {
|
|||||||
eta = "0m"
|
eta = "0m"
|
||||||
}
|
}
|
||||||
|
|
||||||
out = fmt.Sprintf("<a href=\"https://t.me/share/url?url=/brew_%s %d\">%3s - %20s - %3d</a>", o.Code, maxManaItems, o.Code, o.Names[0], maxManaItems[i])
|
out = fmt.Sprintf("<a href=\"https://t.me/share/url?url=/brew_%s %d\">%3s - %20s - %3d</a>", o.Code, maxManaItems, o.Code, o.Names[0], maxManaItems)
|
||||||
|
|
||||||
c := TGCommand{
|
c := TGCommand{
|
||||||
Type: commandReplyMsg,
|
Type: commandReplyMsg,
|
||||||
|
2
rules.go
2
rules.go
@ -224,7 +224,7 @@ func resetMsgParsingRules() error {
|
|||||||
r = MessageParsingRule{
|
r = MessageParsingRule{
|
||||||
Priority: 9998,
|
Priority: 9998,
|
||||||
Description: fmt.Sprintf("Specific item brew %s", o.Code),
|
Description: fmt.Sprintf("Specific item brew %s", o.Code),
|
||||||
Rule: fmt.Sprintf("^\/alch_(?P<Code>%s)$", regexp.QuoteMeta(o.Code)),
|
Rule: fmt.Sprintf("^\//alch_(?P<Code>%s)$", regexp.QuoteMeta(o.Code)),
|
||||||
MsgTypeID64: cacheObjSubType[`msg_bot_brew_item`],
|
MsgTypeID64: cacheObjSubType[`msg_bot_brew_item`],
|
||||||
ChatID64: 0,
|
ChatID64: 0,
|
||||||
SenderUserID64: users[id],
|
SenderUserID64: users[id],
|
||||||
|
Loading…
Reference in New Issue
Block a user