Root definitions

SubredditCriteria

Permalink

Different attributes a Subreddit can be in. Only include a property if you want to check it.

Can also set as plain string as a shorthand for name: /subredditName/i

Properties

isOwnProfile

boolean

Test whether the subreddit is the profile of the Author of the Activity being checked

isUserProfile

boolean

Test whether the subreddit is a user profile

name

anyOf [RegExp, string]

The name of the subreddit.

Can be a normal string (will check case-insensitive) or a regular expression

EX ["mealtimevideos", "/onlyfans*\/i"]

over18

boolean

Is subreddit NSFW/over 18?

Note: This is mod-controlled flag so it is up to the mods of the subreddit to correctly mark their subreddit as NSFW

quarantine

boolean

Is subreddit quarantined?

stateDescription

string

A friendly description of what this State is trying to parse

Loading...

Editor and Validator