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

5
job.go
View File

@ -1722,10 +1722,9 @@ 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)) msg := fmt.Sprintf("Click to validate @%s's withdrawal of<code>%s</code>\n/withdraw_%s", u.Username, stock, string(ref))
cmd := TGCommand{ cmd := TGCommand{
Type: commandReplyMsg, Type: commandSendMsg,
Text: msg, Text: msg,
FromMsgID64: p.MsgID64, ToChatID64: cfg.Bot.Mainchat,
FromChatID64: p.ChatID64,
ParseMode: cmdParseModeHTML, ParseMode: cmdParseModeHTML,
} }
TGCmdQueue <- cmd TGCmdQueue <- cmd