test
This commit is contained in:
parent
cf34fcd6e0
commit
20dad80d73
2
bot.go
2
bot.go
@ -221,7 +221,7 @@ func botMsgExportAll(m *tb.Message) {
|
|||||||
|
|
||||||
d := tb.Document{}
|
d := tb.Document{}
|
||||||
d.File = tb.FromReader(bytes.NewReader(b))
|
d.File = tb.FromReader(bytes.NewReader(b))
|
||||||
d.FileName = fmt.Sprintf("%s_backup.zip", time.Now().Format("20060102150405"))
|
d.FileName = fmt.Sprintf("%s.backup.zip", time.Now().Format("20060102150405"))
|
||||||
d.Caption = d.FileName
|
d.Caption = d.FileName
|
||||||
|
|
||||||
c = TGCommand{
|
c = TGCommand{
|
||||||
|
Loading…
Reference in New Issue
Block a user