From 95370ec74741afbc90809de9ee41bce74fb86e68 Mon Sep 17 00:00:00 2001 From: shoopea Date: Fri, 17 Jan 2020 12:24:49 +0800 Subject: [PATCH] test --- job.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/job.go b/job.go index 790e29d..74e0e08 100644 --- a/job.go +++ b/job.go @@ -1528,7 +1528,7 @@ func jobGWithdraw(j Job) { cmd := TGCommand{ Type: commandReplyMsg, Text: "You cannot validate your own withdrawl", - FromMsgID64: cwm.Msg.MsgID64, + FromMsgID64: cwm.Msg.ID64, FromChatID64: cwm.Msg.ChatID64, } TGCmdQueue <- cmd @@ -1552,7 +1552,7 @@ func jobGWithdraw(j Job) { } p.CleanupMsg = []ChatWarsMessage{} delmsg := tb.StoredMessage{ - MessageID: fmt.Sprintf("%d", cwm.Msg.MsgID64), + MessageID: fmt.Sprintf("%d", cwm.Msg.ID64), ChatID: cwm.Msg.ChatID64, } err = bot.Delete(delmsg)