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
|
||||
r, err := b.GetFile(&f)
|
||||
logOnError(err, "botMsgLoad : GetFile")
|
||||
c := TGCommand{
|
||||
c = TGCommand{
|
||||
Type: commandReplyMsg,
|
||||
Text: "File downloaded ?",
|
||||
FromMsgID64: int64(m.ID),
|
||||
@ -295,7 +295,7 @@ func botMsgLoad(m *tb.Message) {
|
||||
}
|
||||
TGCmdQueue <- c
|
||||
if f.OnDisk() {
|
||||
c := TGCommand{
|
||||
c = TGCommand{
|
||||
Type: commandReplyMsg,
|
||||
Text: "Yes !",
|
||||
FromMsgID64: int64(m.ID),
|
||||
@ -303,7 +303,7 @@ func botMsgLoad(m *tb.Message) {
|
||||
}
|
||||
TGCmdQueue <- c
|
||||
} else {
|
||||
c := TGCommand{
|
||||
c = TGCommand{
|
||||
Type: commandReplyMsg,
|
||||
Text: "No !",
|
||||
FromMsgID64: int64(m.ID),
|
||||
|
Loading…
Reference in New Issue
Block a user