test
This commit is contained in:
parent
dbc9bc7dc5
commit
2caf63b36d
6
bot.go
6
bot.go
@ -287,7 +287,7 @@ func botMsgLoad(m *tb.Message) {
|
|||||||
TGCmdQueue <- c
|
TGCmdQueue <- c
|
||||||
r, err := b.GetFile(&f)
|
r, err := b.GetFile(&f)
|
||||||
logOnError(err, "botMsgLoad : GetFile")
|
logOnError(err, "botMsgLoad : GetFile")
|
||||||
c := TGCommand{
|
c = TGCommand{
|
||||||
Type: commandReplyMsg,
|
Type: commandReplyMsg,
|
||||||
Text: "File downloaded ?",
|
Text: "File downloaded ?",
|
||||||
FromMsgID64: int64(m.ID),
|
FromMsgID64: int64(m.ID),
|
||||||
@ -295,7 +295,7 @@ func botMsgLoad(m *tb.Message) {
|
|||||||
}
|
}
|
||||||
TGCmdQueue <- c
|
TGCmdQueue <- c
|
||||||
if f.OnDisk() {
|
if f.OnDisk() {
|
||||||
c := TGCommand{
|
c = TGCommand{
|
||||||
Type: commandReplyMsg,
|
Type: commandReplyMsg,
|
||||||
Text: "Yes !",
|
Text: "Yes !",
|
||||||
FromMsgID64: int64(m.ID),
|
FromMsgID64: int64(m.ID),
|
||||||
@ -303,7 +303,7 @@ func botMsgLoad(m *tb.Message) {
|
|||||||
}
|
}
|
||||||
TGCmdQueue <- c
|
TGCmdQueue <- c
|
||||||
} else {
|
} else {
|
||||||
c := TGCommand{
|
c = TGCommand{
|
||||||
Type: commandReplyMsg,
|
Type: commandReplyMsg,
|
||||||
Text: "No !",
|
Text: "No !",
|
||||||
FromMsgID64: int64(m.ID),
|
FromMsgID64: int64(m.ID),
|
||||||
|
Loading…
Reference in New Issue
Block a user