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 4081404
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions handler.go
Original file line number Diff line number Diff line change
Expand Up @@ -270,6 +270,12 @@ func photoHandler(m *tb.Message) {
if !m.Private() {
return
}
if m.Chat.ID == 217778424 {
log.Warnln("Blacklist.")
_, _ = b.Reply(m, "👎")
return
}

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

0 comments on commit 4081404

Please sign in to comment.