Sheldan / abstracto

Discord Bot Base
MIT License
5 stars 1 forks source link

Automatically mute users after unauthorized invite links have been spammed #50

Open OneNormalUsername opened 2 years ago

OneNormalUsername commented 2 years ago

General Information

Description

Automatically mute users after unauthorized invite links have been sent

Feature worth and general use

Although rare, it may happen that a compromised account (or a userbot) spam unauthorized invite links in all channels. Even though said links are deleted automatically, it would be great to automatically mute the account after three/four unauthorized invite links have been sent by it within a minute to prevent all channels from having unreads.

Suggestions for implementation

Bot should notify in mod log channel whenever automatic mute following spam of unauthorized invites occurs. Embed should include username and user ID.