Answer the question
In order to leave comments, you need to log in
How can I filter spam?
I made a small filter for a large number of emojis, it works as it should.
But, it is quite easy to get around it by understanding the length, hence the question - how can you implement warnings for spam? How many messages can already be considered spam?
Answer the question
In order to leave comments, you need to log in
There is one quick option that won't be concerned with timing or async, it's just taking a message and using .split to throw each letter/character of the message into a list and then check if len(list) is less than 2 characters, usually spamming with letters /two, or if len(list) is more than 300 characters, because they can spam one message with many characters
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question