Skip to content

Instantly share code, notes, and snippets.

@ternera
Last active February 22, 2025 01:11
Show Gist options
  • Save ternera/a0ffec75f59985fa706ed5f9894c7952 to your computer and use it in GitHub Desktop.
Save ternera/a0ffec75f59985fa706ed5f9894c7952 to your computer and use it in GitHub Desktop.
Reddit Automod Rule to Remove Referral Codes
type: comment
body (regex): "\b[0-9]{5}\b"
comment_repetition:
match: "regex"
pattern: "\b[0-9]{5}\b"
threshold: 2
timeframe: "14 days"
action: remove
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment