fixes for alch stuff
This commit is contained in:
parent
d3ce990651
commit
d06e8fbd53
4
bot.go
4
bot.go
@ -941,12 +941,12 @@ func botAlchAll(m *ChatWarsMessage) {
|
|||||||
ChatID64: m.ChatID64,
|
ChatID64: m.ChatID64,
|
||||||
Status: 0,
|
Status: 0,
|
||||||
Mana: 0,
|
Mana: 0,
|
||||||
MaxMana: 0,
|
ManaMax: 0,
|
||||||
}
|
}
|
||||||
|
|
||||||
b, _ := json.Marshal(p)
|
b, _ := json.Marshal(p)
|
||||||
t := time.Now().UTC().Add(1 * time.Second)
|
t := time.Now().UTC().Add(1 * time.Second)
|
||||||
_, err := createJob(cacheObjSubType[`job_alch_all`], objJobPriority, j.userID64, 0, t, b)
|
_, err := createJob(cacheObjSubType[`job_alch_all`], objJobPriority, m.TGSenderUserID64, 0, t, b)
|
||||||
|
|
||||||
if err != nil {
|
if err != nil {
|
||||||
c := TGCommand{
|
c := TGCommand{
|
||||||
|
Loading…
Reference in New Issue
Block a user