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