test
This commit is contained in:
parent
6daf286b97
commit
7bd584b604
4
bot.go
4
bot.go
@ -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),
|
||||||
|
Loading…
Reference in New Issue
Block a user