test
This commit is contained in:
parent
7eabf7a7d7
commit
584b25be54
2
bot.go
2
bot.go
@ -122,7 +122,7 @@ func botMsgRescan(m *tb.Message) {
|
|||||||
} else {
|
} else {
|
||||||
c := TGCommand{
|
c := TGCommand{
|
||||||
Type: commandReplyMsg,
|
Type: commandReplyMsg,
|
||||||
Text: fmt.Sprint("Rescaning msg #%s", m.Payload), "Rescaning all msg scheduled.",
|
Text: fmt.Sprint("Rescaning msg #%s", m.Payload),
|
||||||
FromMsgID64: int64(m.ID),
|
FromMsgID64: int64(m.ID),
|
||||||
FromChatID64: m.Chat.ID,
|
FromChatID64: m.Chat.ID,
|
||||||
}
|
}
|
||||||
|
@ -242,7 +242,7 @@ func MQTGCmdWorker(id int, cmds <-chan TGCommand) {
|
|||||||
false, // immediate
|
false, // immediate
|
||||||
amqp.Publishing{
|
amqp.Publishing{
|
||||||
ContentType: "application/json",
|
ContentType: "application/json",
|
||||||
Body: []byte(b),
|
Body: []byte(j),
|
||||||
})
|
})
|
||||||
logOnError(err, "MQTGCmdWorker["+strconv.Itoa(id)+"] : Publishing message.")
|
logOnError(err, "MQTGCmdWorker["+strconv.Itoa(id)+"] : Publishing message.")
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user