test
This commit is contained in:
parent
b11d455804
commit
95370ec747
4
job.go
4
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)
|
||||
|
Loading…
Reference in New Issue
Block a user