You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Jun 8, 2022. It is now read-only.
PySlackers is virtually public and open, which makes it vulnerable to trolls. Let's write some basic content moderation automation using Tensorflow to tackle the low hanging fruit: Messages on public channels that contain URLs or uploaded images.
Basically we need to:
Make Slackbot listen to all messages across public channels.
If a message includes a URL that resolves to mime type image/*, run that URL though a pre-trained NSFW classifier (like this one)
Version 1: If content is NSFW, send a message to the admins and maybe a warning to the channel.