test
This commit is contained in:
parent
40a8be4548
commit
43d7943c4c
8
bot.go
8
bot.go
@ -278,6 +278,14 @@ func botGStock(m *tb.Message) {
|
|||||||
clientSendCWMsg(m.Chat.ID, "/g_stock_rec")
|
clientSendCWMsg(m.Chat.ID, "/g_stock_rec")
|
||||||
clientSendCWMsg(m.Chat.ID, "/g_stock_parts")
|
clientSendCWMsg(m.Chat.ID, "/g_stock_parts")
|
||||||
clientSendCWMsg(m.Chat.ID, "/g_stock_other")
|
clientSendCWMsg(m.Chat.ID, "/g_stock_other")
|
||||||
|
|
||||||
|
c := TGCommand{
|
||||||
|
Type: commandReplyMsg,
|
||||||
|
Text: "Stock requested",
|
||||||
|
FromMsgID64: int64(m.ID),
|
||||||
|
FromChatID64: m.Chat.ID,
|
||||||
|
}
|
||||||
|
TGCmdQueue <- c
|
||||||
return
|
return
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user