Last active
August 29, 2015 14:21
-
-
Save Rapptz/86993da9732132d282dc to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
type: comment | |
body (full-exact, regex, case-sensitive): '^[fF]lair:\s*(64|meta|all|ssb4|melee|brawl|projectm)$' | |
is_top_level: true | |
author: | |
is_submitter: true | |
message: | | |
Flair successfully applied on your post [{{title}}]({{permalink}}). | |
parent_submission: | |
set_flair: ["{{match-2}}", "{{match-2}}"] | |
overwrite_flair: true | |
action: remove | |
action_reason: "valid flair request" | |
moderators_exempt: false | |
--- | |
# error handling | |
type: comment | |
body (full-exact, regex, case-sensitive): '^[fF]lair:\s*(?!64|meta|all|ssb4|melee|brawl|projectm)([^\s]*)$' | |
is_top_level: true | |
author: | |
is_submitter: true | |
message: | | |
Invalid flair given: {{match-2}} | |
Valid values are: meta all 64 ssb4 melee brawl projectm | |
Please post a new top level comment with the proper value. An example is: "flair: 64" without quotes. | |
Please note that the values must be in all lower-case. | |
action: remove | |
action_reason: "incorrect flair request" | |
moderators_exempt: false | |
--- |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment