This commit is contained in:
shoopea 2019-10-10 18:18:44 +08:00
parent 9f155669ae
commit 1134f4c090

35
bot.go
View File

@ -655,6 +655,41 @@ func botSaveRes(m *tb.Message) {
TGCmdQueue <- c TGCmdQueue <- c
} }
func botVaultHelp(m *tb.Message) {
if !m.Private() {
return
}
c := TGCommand{
Type: commandReplyMsg,
Text: `
/vault_all <user> - All items
/vault_res <user> - Resources
/vault_alch <user> - Alchemy
/vault_misc <user> - Miscellaneous
/vault_rec <user> - Recipes
/vault_part <user> - Parts
/vault_other <user> - 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) { func botGDepositAll(m *tb.Message) {
if !m.Private() { if !m.Private() {
return return