fix
This commit is contained in:
parent
4b06fb4b86
commit
5bb430469a
2
main.go
2
main.go
@ -454,7 +454,7 @@ func ListenGuild(c *tdlib.Client) {
|
|||||||
inputMsgTxt := tdlib.NewInputMessageText(tdlib.NewFormattedText(msgText, nil), true, true)
|
inputMsgTxt := tdlib.NewInputMessageText(tdlib.NewFormattedText(msgText, nil), true, true)
|
||||||
c.SendMessage(chat_guild, 0, false, false, nil, inputMsgTxt)
|
c.SendMessage(chat_guild, 0, false, false, nil, inputMsgTxt)
|
||||||
msgText = fmt.Sprintf("/g_withdraw %s %d\n", m.Item, m.Quantity)
|
msgText = fmt.Sprintf("/g_withdraw %s %d\n", m.Item, m.Quantity)
|
||||||
inputMsgTxt := tdlib.NewInputMessageText(tdlib.NewFormattedText(msgText, nil), true, true)
|
inputMsgTxt = tdlib.NewInputMessageText(tdlib.NewFormattedText(msgText, nil), true, true)
|
||||||
msgMutex.Lock()
|
msgMutex.Lock()
|
||||||
sendMsg, _ := c.SendMessage(user_chtwrsbot, 0, false, false, nil, inputMsgTxt)
|
sendMsg, _ := c.SendMessage(user_chtwrsbot, 0, false, false, nil, inputMsgTxt)
|
||||||
msgID64 = sendMsg.ID
|
msgID64 = sendMsg.ID
|
||||||
|
Loading…
Reference in New Issue
Block a user