I
I
Ilya Bugaets2020-06-02 08:45:18
Python
Ilya Bugaets, 2020-06-02 08:45:18

How to ignore user?

When a user plays RR (Russian roulette) he has a 15% chance to win the role, but if he loses he is given a mut. But here I ran into a problem. When a person is in the mute, his messages are deleted, but the bot is still distracted by the user who is in the mute. How to ignore such a user?

Answer the question

In order to leave comments, you need to log in

1 answer(s)
S
Sergey Pankov, 2020-06-02
@trapwalker

When a message arrives, check if the user is tortured. If yes, then let the bot not pay attention to it.
Or what is the question? You described it in a vague way.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question