This commit is contained in:
shoopea 2020-01-17 12:34:33 +08:00
parent 59aefbe5fa
commit 893d7715e6

9
job.go
View File

@ -1722,11 +1722,10 @@ func jobGWithdraw(j Job) {
msg := fmt.Sprintf("Click to validate @%s's withdrawal of<code>%s</code>\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 {