diff --git a/bot.go b/bot.go index daa1be2..a78c10c 100644 --- a/bot.go +++ b/bot.go @@ -211,7 +211,7 @@ func botMsgExportAll(m *tb.Message) { d := tb.Document{File: tb.FromReader(bytes.NewReader(b))} - c := TGCommand{ + c = TGCommand{ Type: commandReplyDocument, Document: d, FromMsgID64: int64(m.ID),