Criteria with which to test against the author of an Activity. The outcome of the test is based on:
string
Test the age of the Author's account (when it was created) against this comparison
The syntax is (< OR > OR <= OR >=) <number> <unit>
> 100 days
=> Passes if Author's account is older than 100 days<= 2 months
=> Passes if Author's account is younger than or equal to 2 monthsUnit must be one of DayJS Duration units
[See] https://regexr.com/609n8 for example
^\s*(>|>=|<|<=)\s*(\d+)\s*(days?|weeks?|months?|years?|hours?|minutes?|seconds?|milliseconds?)\s*$
string
A string containing a comparison operator and a value to compare karma against
The syntax is (< OR > OR <= OR >=) <number>[percent sign]
> 100
=> greater than 100 comment karma<= 75%
=> comment karma is less than or equal to 75% of all karma^\s*(>|>=|<|<=)\s*(\d+)\s*(%?)(.*)$
anyOf [Array<string>, string]
An (array of) string/regular expression to test contents of an Author's profile description against
If no flags are specified then the insensitive flag is used by default
If using an array then if any value in the array passes the description test passes
anyOf [Array<string>, string ∪ boolean]
The (user) flair background color (or list of) from the subreddit to match against
true
then passes if ANY css background color is assignedfalse
then passes if NO css background is assignedanyOf [Array<string>, string ∪ boolean]
A (user) flair css class (or list of) from the subreddit to match against
true
then passes if ANY css is assignedfalse
then passes if NO css is assignedanyOf [Array<string>, string ∪ boolean]
A (user) flair template id (or list of) from the subreddit to match against
true
then passes if ANY template is assignedfalse
then passed if NO template is assignedanyOf [Array<string>, string ∪ boolean]
A (user) flair text value (or list of) from the subreddit to match against
true
then passes if ANY text is assignedfalse
then passes if NO text is assignedboolean
Is the author an approved user (contributor)?
boolean
Is the author a moderator?
string
A string containing a comparison operator and a value to compare link karma against
The syntax is (< OR > OR <= OR >=) <number>[percent sign]
> 100
=> greater than 100 link karma<= 75%
=> link karma is less than or equal to 75% of all karma^\s*(>|>=|<|<=)\s*(\d+)\s*(%?)(.*)$
Array<anyOf [ModNoteCriteria, ModLogCriteria]>
Array<string>
A list of reddit usernames (case-insensitive) or regular expressions to match against. Do not include the "u/" prefix
EX to match against /u/FoxxMD and /u/AnotherUser use ["FoxxMD","AnotherUser"]
boolean
Is the author shadowbanned?
This is determined by trying to retrieve the author's profile. If a 404 is returned it is likely they are shadowbanned
string
A string containing a comparison operator and a value to compare against
The syntax is (< OR > OR <= OR >=) <number>
> 100
=> greater than 100^\s*(>|>=|<|<=)\s*(\d+)\s*(%?)(.*)$
Array<UserNoteCriteria>
A list of UserNote properties to check against the User Notes attached to this Author in this Subreddit (must have Toolbox enabled and used User Notes at least once)
boolean
Does Author's account have a verified email?