Carter Michaelis
Carter Michaelis

Reputation: 275

Programming a Discord bot in Python- How do I make it filter spam?

I want to make my bot filter spam messages. Nothing too complex, just like if someone sends more than 8 messages in 30 seconds, delete their most recent message. How would I do so? I'm new to programming, so any insight would be greatly appreciated.

Upvotes: 1

Views: 203

Answers (1)

Omer
Omer

Reputation: 96

I know this is two months late but I though I would answer in case anyone else comes across this. You should look into the Discord-Anti-Spam package. It manages all of the spam detecting for you.

Upvotes: 1

Related Questions