A
A
Artem KK2020-08-26 14:26:01
Bots
Artem KK, 2020-08-26 14:26:01

Spam block for telegram bot in python, how to implement?

Chatbot for TELEGRAM, we need a function that will track the writing of messages from each user or something like that. Then, if the user wrote 6-7 messages quickly in a row, he was added to the

black_list list

And when you try to write something, you need to track whether he is on the black list or not

Answer the question

In order to leave comments, you need to log in

1 answer(s)
G
Grigory Boev, 2020-08-26
@ProgrammerForever

Look for the course Development of Telegram bots in Python [Udemy] [Konstantin Kryuchkov] , there is a ready-made solution

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question