Posts
Wiki

Basic Configuration

QualityVote reads configs in YAML, which is the same format used by automod, so if you know how automod-esque syntax works, you know how YAML works. If not, here are a few tutorials that might help: "YAML Syntax", "YAML for Non-programmers".

You might also use this YAML parser I found online to make sure something works before you put it in.

Config Fields

NameDescriptionValid ValuesDefault
vote_commentThe text of the vote comment - supports placeholders - bot will do nothing if this isn't setAny stringNone
report_thresholdThe minimum score of the vote comment to reportAny integerNone
remove_thresholdThe minimum score of the vote comment to remove the postAny integerNone
check_afterNumber of time units before checking the vote comment - if set, the vote comment will only be checked onceAny integerNone
check_after_modeTime unit to use for check_afterHour, minute, second, etcMinute
delete_after_checkWhether to delete the vote comment after the check - this will be ignored if check_after is not setTrue or falseFalse
removal_commentComment to leave after removing posts - supports placeholdersAny stringNone
modmail_bodyMessage to send to modmail after removing posts - supports placeholders - if not set, no modmail will be sentAny stringNone
modmail_subjectThe subject of the modmail sent after removals (if one is set) - supports placeholders - this will be ignored if modmail_body is not setAny string"Removal threshold reached"
report_reasonReason to report with - supports placeholdersAny stringNone
report_commentWhether to report the vote comment instead of the original submissionTrue or falseFalse
skip_approvedWhether to skip removal for posts that have been previously approved by a moderatorTrue or falseTrue
approval_botsUsernames that will not count for the feature implemented by skip_approved - should be a list of bots on your subreddit that perform unprompted approvals - e.g. MAGIC_EYE_BOTA list of usernamesNone
ignore_flairsFlair template IDs whose posts will not receive vote comments - note that the flair will need to be set as the post is madeA list of flair template IDsNone
is_selfIf present, whether to check only self posts (true) or only link posts (false) - if not present, post type will be disregardedTrue or falseN/A

Placeholders

Several placeholders are supported by QualityVote in several of its possible messages.

NameDescription
{{author}}The username of the author of the post
{{subreddit}}The display name of the subreddit in which the comment is being left
{{body}}The body of the post (NOT RECOMMENDED)
{{title}}The title of the post
{{id}}The base36 ID of the post (if you don't know what that means, you don't need to use it)
{{permalink}}A URL linking to the post
{{domain}}The domain of the post
{{link}}The URL the post links to (the same as {{permalink}} for self posts)
{{author_flair_text}}The flair text of the post's author, or blank if they have none
{{author_flair_css_class}}The flair CSS class of the post's author, or blank if they have none
{{author_flair_template_id}}The flair template ID of the post's author, or blank if they have none
{{link_flair_text}}The flair text of the post, or blank if it has none
{{link_flair_css_class}}The flair CSS class of the post, or blank if it has none
{{link_flair_template_id}}The flair template ID of the post
{{author_id}}The base36 ID of the post's author (if you don't know what that means, you don't need to use it)
{{subreddit_id}}The base36 ID of the subreddit in which the comment is being left (if you don't know what that means, you don't need to use it)

Example

The following is an example config which will post a comment on every new thread, report the post when the comment reaches -2, and remove the post when the comment reaches -5 (with a removal comment):

vote_comment: |-
    Hi! This is our community moderation bot.

    ---

    If this post fits the purpose of /r/{{subreddit}}, **UPVOTE** this comment!!

    If this post does not fit the subreddit, **DOWNVOTE** This comment!

    If this post breaks the rules, **DOWNVOTE** this comment and **REPORT** the post!
report_threshold: -2
remove_threshold: -5
removal_comment: /u/{{author}}, thank you for your submission. Unfortunately, your post has been removed because it has been voted unsuitable for /r/{{subreddit}}.