From 1134f4c090f0d1c7180a80e0436a24412200d3df Mon Sep 17 00:00:00 2001 From: shoopea Date: Thu, 10 Oct 2019 18:18:44 +0800 Subject: [PATCH] update --- bot.go | 35 +++++++++++++++++++++++++++++++++++ 1 file changed, 35 insertions(+) diff --git a/bot.go b/bot.go index 84fd5ed..86fd856 100644 --- a/bot.go +++ b/bot.go @@ -655,6 +655,41 @@ func botSaveRes(m *tb.Message) { TGCmdQueue <- c } +func botVaultHelp(m *tb.Message) { + if !m.Private() { + return + } + + c := TGCommand{ + Type: commandReplyMsg, + Text: ` + /vault_all - All items + /vault_res - Resources + /vault_alch - Alchemy + /vault_misc - Miscellaneous + /vault_rec - Recipes + /vault_part - Parts + /vault_other - Other`, + FromMsgID64: int64(m.ID), + FromChatID64: m.Chat.ID, + } + TGCmdQueue <- c +} + +func botVault(m *tb.Message) { + if !m.Private() { + return + } + + c := TGCommand{ + Type: commandReplyMsg, + Text: "Not coded yet.", + FromMsgID64: int64(m.ID), + FromChatID64: m.Chat.ID, + } + TGCmdQueue <- c +} + func botGDepositAll(m *tb.Message) { if !m.Private() { return