This commit is contained in:
shoopea 2019-06-09 17:06:02 +08:00
parent 6daf286b97
commit 7bd584b604

4
bot.go
View File

@ -264,7 +264,7 @@ func botMsgLoad(m *tb.Message) {
return return
} }
if m.ReplyTo != nil { if m.ReplyTo != nil {
c = TGCommand{ c := TGCommand{
Type: commandReplyMsg, Type: commandReplyMsg,
Text: `Message found.`, Text: `Message found.`,
FromMsgID64: int64(m.ID), FromMsgID64: int64(m.ID),
@ -272,7 +272,7 @@ func botMsgLoad(m *tb.Message) {
} }
TGCmdQueue <- c TGCmdQueue <- c
} else { } else {
c = TGCommand{ c := TGCommand{
Type: commandReplyMsg, Type: commandReplyMsg,
Text: `You need to reply to the message with the backup.`, Text: `You need to reply to the message with the backup.`,
FromMsgID64: int64(m.ID), FromMsgID64: int64(m.ID),