This commit is contained in:
shoopea 2019-06-09 16:26:05 +08:00
parent cf34fcd6e0
commit 20dad80d73

2
bot.go
View File

@ -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{