test vault
This commit is contained in:
parent
f85b095cd5
commit
ceff699541
6
bot.go
6
bot.go
@ -677,6 +677,12 @@ func botVaultHelp(m *tb.Message) {
|
|||||||
}
|
}
|
||||||
|
|
||||||
func botVault(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() {
|
if !m.Private() {
|
||||||
return
|
return
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user