Moderation bot aimed at removing "crash GIF"s
CrashGuard (formerly known as SYSTER) is a discord bot written in python with the sole purpose of detecting and removing so-called "crash GIFs" (corrupted GIFs that crash the client of the viewer) while letting harmless ones through. Due to the lack of solution to this problem, these GIFs have been maliciously sent to many servers, disrupting the experience of its members. Upon detection, CrashGuard will delete the offending message, send a warning into the affected text channel, and send a report into a designated logging channel.
As of now, the bot only targets files which play as soon as they are scrolled into view, meaning that mp4 attachments (which need to be clicked into in order to be played) are ignored. In future updates detection and removal of such attachments will also be added. The bot can be invited using the following url: INVITE CrashGuard
PFP credit: まさよ🍬Fantia
All commands require the user to have the 'view audit log' permission. This is to limit command usage to moderators and admins.
if you use channel-specific overrides, CrashGuard must have the above permissions for each channel you want it to monitor. For your logging channel, it requires all of the above except for Manage Messages and Read Message History
If you want CrashGuard to create its own logging channel, it additionally requires:
make sure CrashGuard's role is in a higher position in the roles list than that of all non-mod/non-admin user roles
Next, run the 'setup' command and type the name of the channel which you want this bot to log to (example: %setup my-logging-channel
). If 'setup' is run without any channel name provided, it will create a new channel called 'sys-log' and configure its permissions so that only itself and members with access to your server's audit log have access to it. You are free to modify this channel as you see fit.
Congratulations! The bot is now configured and ready for use! From now on, it will automatically detect and delete messages with embedded "crash GIFs". If you wish to disable this feature, simply run 'toggle' (example: %toggle
) To re-enable, run the same command again.
All commands require the user to have the 'view audit log' permission. This is to limit command usage to moderators and admins.
%add sketchywebsite.com
%remove sketchywebsite.com
%setlog new-logging-channel
As mentioned earlier, this bot only targets embeds which contains GIF preview
videos that the discord client will play as soon as it is scrolled into view.
This is subject to change in future updates, where the bot will likely be able to target
mp4 attachments that need to be clicked into as well. When initially developing
CrashGuard, GIF previews were given priority since experiencing a crash from them
is far harder to avoid and are therefore, much more disruptive.
There is currently no way to view the states of your configurations without changing
them. This will also be addressed in future udpates.
During testing, "crash GIFs" would sneak past detection on rare occasions due to
what is most likely a race condition occurring on Discord's end.
To get around this, the bot waits 0.9 seconds before re-fetching the message from
discord. So far this seems to have boosted the bot's catch rate to 100%, although
if "crash GIFs" do continue to leak through, I would appreciate it if you let me know.
CrashGuard also does not come equipped with administrative action against the author
of a "crash GIF". However, it provides clear information pointing to the author,
at which point it is up to the server admins/moderators to decide on what action
to take.
The 'help' command currently is not very helpful. This will also be addressed in
future updates. For now, refer to this document as it provides full coverage
of CrashGuard's features.
5
1 review
Reviews can be left only by registered users. All reviews are moderated by Top.gg moderators. Please make sure to check our guidelines before posting.
5 stars
1
4 stars
0
3 stars
0
2 stars
0
1 star
0