Skip to content

A Discord bot that flags Depribooru images which may contain Discord TOS-violating content

License

Notifications You must be signed in to change notification settings

BytewaveMLP/derpi-image-flagger

Repository files navigation

Derpi Image Flagger

Discord chat

A Discord bot that flags Depribooru images which may contain Discord TOS-violating content

DIF is a Discord bot that attempts to help server moderators maintain Discord ToS compliance by flagging and removing MLP images which may violate Discord's community guidelines. This is achieved by reverse-searching the image on Derpibooru and filtering images which have been tagged with blacklisted tags. The bot will not catch all images, so this isn't a perfect solution, but it can be used in conjunction with regular moderation to help keep a server clean.

Installation

$ git clone https://github.com/BytewaveMLP/derpi-image-flagger
$ cp config.example.json config.json
$ $EIDTOR config.json

Configuration

  • discord.token - Your Discord bot's authorization token (get one here)
  • derpi.apiKey - Your Derpibooru account's API key (get this here)
  • derpi.bannedTags - Tags which you'd like to ban
    • .sfw - Tags you'd like to disallow from just SFW channels
    • .nsfw - Tags you'd like to disallow from just NSFW channels
    • .both - Tags you'd like to disallow from both types of channels

Contribute

Issues, suggestions, or concerns? Submit a GitHub issue!

Want to add a feature or fix a bug? We accept PRs!

Maintainers

License

Copyright (c) Eliot Partridge, 2019. Licensed under the MIT license.

About

A Discord bot that flags Depribooru images which may contain Discord TOS-violating content

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published