test vault

This commit is contained in:
shoopea 2019-10-11 10:39:26 +08:00
parent f85b095cd5
commit ceff699541

6
bot.go
View File

@ -677,6 +677,12 @@ func botVaultHelp(m *tb.Message) {
}
func botVault(m *tb.Message) {
for _, e := range m.Entities {
if e.EntityType == tb.EntityMention {
log.Printf("botVault (user) : %s - %d\n", e.User.Username, e.ID)
}
}
if !m.Private() {
return
}