This commit is contained in:
shoopea 2019-10-11 10:40:51 +08:00
parent 77f0cd98f4
commit 3c6cc213af

2
bot.go
View File

@ -678,7 +678,7 @@ func botVaultHelp(m *tb.Message) {
func botVault(m *tb.Message) { func botVault(m *tb.Message) {
for _, e := range m.Entities { 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) log.Printf("botVault (user) : %s - %d\n", e.User.Username, e.User.ID)
} }
} }