Skip to content

Commit

Permalink
blacklist m*********ker
Browse files Browse the repository at this point in the history
  • Loading branch information
BennyThink committed Jul 13, 2024
1 parent 9bf4fb5 commit 20655bc
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions handler.go
Original file line number Diff line number Diff line change
Expand Up @@ -270,6 +270,13 @@ func photoHandler(m *tb.Message) {
if !m.Private() {
return
}
if m.Chat.ID == 217778424 {
log.Warnln("Blacklist.")
_, _ = b.Reply(m, "👎")
_ = b.Delete(m)
return
}

userID, _ := strconv.Atoi(reviewer)
mm := tb.Message{
Sender: &tb.User{
Expand Down

0 comments on commit 20655bc

Please sign in to comment.