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 {
|
||||
c := TGCommand{
|
||||
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),
|
||||
FromChatID64: m.Chat.ID,
|
||||
}
|
||||
|
@ -242,7 +242,7 @@ func MQTGCmdWorker(id int, cmds <-chan TGCommand) {
|
||||
false, // immediate
|
||||
amqp.Publishing{
|
||||
ContentType: "application/json",
|
||||
Body: []byte(b),
|
||||
Body: []byte(j),
|
||||
})
|
||||
logOnError(err, "MQTGCmdWorker["+strconv.Itoa(id)+"] : Publishing message.")
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user