From 893d7715e636b453b62d7c835d828bbaad4a0e29 Mon Sep 17 00:00:00 2001 From: shoopea Date: Fri, 17 Jan 2020 12:34:33 +0800 Subject: [PATCH] tset --- job.go | 9 ++++----- 1 file changed, 4 insertions(+), 5 deletions(-) diff --git a/job.go b/job.go index af0439a..26c08a2 100644 --- a/job.go +++ b/job.go @@ -1722,11 +1722,10 @@ func jobGWithdraw(j Job) { msg := fmt.Sprintf("Click to validate @%s's withdrawal of%s\n/withdraw_%s", u.Username, stock, string(ref)) cmd := TGCommand{ - Type: commandReplyMsg, - Text: msg, - FromMsgID64: p.MsgID64, - FromChatID64: p.ChatID64, - ParseMode: cmdParseModeHTML, + Type: commandSendMsg, + Text: msg, + ToChatID64: cfg.Bot.Mainchat, + ParseMode: cmdParseModeHTML, } TGCmdQueue <- cmd } else {