python-discord / meta

Issue tracker for suggestions and other questions relating to our community
https://pythondiscord.com
31 stars 5 forks source link

Feature: SelfBot Filter #83

Closed ChiliMX closed 3 years ago

ChiliMX commented 3 years ago

SelfBot filter

The filter is simple. Check if a message has an embed, and check if the author of the message is a normal user account. An example of how this would work is something like this

async def on_message(message): if len(message.embeds) >= 1 and not message.author.bot: message_staff_channel

I think this would be a good addition because it provides a really simple, yet, really effective system for finding self bots. At the moment, the only way to find self bots is for a staff/user to see it, and report/take action on it. This is a problem because there are so many message sent per minute that the self bots message can get lost in everyone else's, therefor making it almost Impossible to actually find them.

Implementation of this filter would be relatively easy. All that's required is to write the one event in a cog, load the cog, and voila. There is a lot gained with nothing lost in this idea. We get TOS violators out for PyDis easily, and 0 false positives.

mbaruh commented 3 years ago

Sorry, I should have been clearer. We already have a measure like that in the bot :)

jb3 commented 3 years ago

This feature is already implemented in the mod alerts system, but we appreciate you looking to simplify our job! 😃