test
This commit is contained in:
parent
c59a27bbb8
commit
d849a5620d
4
bot.go
4
bot.go
@ -679,13 +679,11 @@ func botVaultHelp(m *tb.Message) {
|
||||
func botVault(m *tb.Message) {
|
||||
b, _ := json.Marshal(m)
|
||||
log.Printf("botVault (msg) :\n%s\n", string(b))
|
||||
/*
|
||||
for _, e := range m.Entities {
|
||||
if e.Type == tb.EntityMention {
|
||||
log.Printf("botVault (user) : %s - %d\n", e.User.Username, e.User.ID)
|
||||
log.Printf("botVault (user) : %s\n", m.Text[e.Offset:e.Offset+e.Length])
|
||||
}
|
||||
}
|
||||
*/
|
||||
if !m.Private() {
|
||||
return
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user