This commit is contained in:
shoopea 2019-05-26 20:41:35 +08:00
parent 6f418b11c3
commit de41d0196b

2
bot.go
View File

@ -278,7 +278,7 @@ func botTimer(m *tb.Message) {
if err != nil { if err != nil {
c := TGCommand{ c := TGCommand{
Type: commandReplyMsg, Type: commandReplyMsg,
Text: err, Text: fmt.Sprintf("%s", err),
FromMsgID64: int64(m.ID), FromMsgID64: int64(m.ID),
FromChatID64: m.Chat.ID, FromChatID64: m.Chat.ID,
} }