Skip to content

Instantly share code, notes, and snippets.

@rajtilakjee
Created April 7, 2023 07:02
Show Gist options
  • Save rajtilakjee/0db83157559010aa03128007eabeed16 to your computer and use it in GitHub Desktop.
Save rajtilakjee/0db83157559010aa03128007eabeed16 to your computer and use it in GitHub Desktop.
Reddit Automod Script - Submission Keyword Filter
# These are submission Keywords that are Filtered
type: submission
~title+body+url (includes-word, regex): ['r/mysub', 'r/my-sub', 'my sub', 'my name']
title+body+url (includes-word, regex): ['/?r/\w+','war', 'ban']
moderators_exempt: true
action: filter
action_reason: "Words not allowed: {{match}}"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment