cross-posted from: https://programming.dev/post/18411894

Hello Lemmings!

I am thinking of making a community moderation bot for Lemmy. This new bot will have faster response times with the help of Lemmy webhooks, an amazing plugin for Lemmy instances by @RikudouSage@lemmings.world to add webhook support. With this, there is no need to frequently call the API at a fixed interval to fetch new data. Any new data will be sent via the webhook directly to the bot backend. This allows for actions within seconds, thus making it an effective auto moderation tool.

I have a few features I thought of doing:

  • Welcome messages
  • Auto commenting on new posts
  • Scheduled posts
  • Punish content authors or remove content via word blacklist/regex
  • Ban members of communities by their usernames/bios via word blacklist or regex
  • Auto community lockdown during spam

What other features do you think are possible? Please let me know. Any questions are also welcome. Community requested features:

  • Strike system

Strikes are added to a certain member of the community and the member will be temporarily banned within a time period if their strike count reaches a certain threshold

  • Post creation restriction by account age

If an account’s age is lower than X, remove the post.

  • asudox@programming.devOP
    link
    fedilink
    English
    arrow-up
    1
    ·
    edit-2
    3 months ago

    LLMs are too expensive to run and slow as well. As for the lockdown system, DoS as in sending API calls to send messages? Yeah well that’s considered spam and will indeed lock the community down. But it won’t happen instantly and I still need to plan how it would detect spam and whether it will attempt to automatically ban the spammers or not. The bot is still in the preparation phase, I haven’t done any work yet.

    As discussed in some other comment, the bot will not delete posts that are triggered by regex or word blacklist but report them. The bot indeed won’t understand context so it will do more harm than good. I am also thinking of transliterating content to catch people using symbols that look like certain characters like € for E and $ for S. That will be done at the webhook level though.