This commit is contained in:
shoopea 2019-05-31 18:45:24 +08:00
parent 40a8be4548
commit 43d7943c4c

8
bot.go
View File

@ -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
} }