test
This commit is contained in:
parent
e78d8c6bff
commit
44aa5f753e
5
bot.go
5
bot.go
@ -285,9 +285,12 @@ func botMsgLoad(m *tb.Message) {
|
|||||||
}
|
}
|
||||||
TGCmdQueue <- c
|
TGCmdQueue <- c
|
||||||
|
|
||||||
|
x, err := json.Marshal(f)
|
||||||
|
logOnError(err, "botMsgLoad : Marshal")
|
||||||
|
|
||||||
log.Printf("URL : %s\n", b.URL)
|
log.Printf("URL : %s\n", b.URL)
|
||||||
log.Printf("Token : %s\n", b.Token)
|
log.Printf("Token : %s\n", b.Token)
|
||||||
log.Printf("FilePath : %s\n", f.FilePath)
|
log.Printf("File : %s\n", string(x))
|
||||||
|
|
||||||
//url := fmt.Sprintf("%s/file/bot%s/%s", b.URL, b.Token, f.FilePath)
|
//url := fmt.Sprintf("%s/file/bot%s/%s", b.URL, b.Token, f.FilePath)
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user