fix
This commit is contained in:
parent
77f0cd98f4
commit
3c6cc213af
2
bot.go
2
bot.go
@ -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)
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user