diff --git a/bot.go b/bot.go index d380c11..1d90ac7 100644 --- a/bot.go +++ b/bot.go @@ -678,7 +678,7 @@ func botVaultHelp(m *tb.Message) { func botVault(m *tb.Message) { for _, e := range m.Entities { - if e.EntityType == tb.EntityMention { + if e.Type == tb.EntityMention { log.Printf("botVault (user) : %s - %d\n", e.User.Username, e.User.ID) } }