Posts
Wiki

Basic Configuration

importantreplies 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
usernamesA list of usernames to sticky comments fromA list of stringsN/A
flair_template_idsA list of user flair template IDs; comments from anyone with these flair templates will be stickiedA list of stringsN/A
flair_css_classesA list of user flair CSS classes; comments from anyone with these flair classes will be stickiedA list of stringsN/A
sticky_submitterWhether to sticky comments from post authorsTrue or falseFalse
sticky_submitter_link_flairsA list of link flair template IDs; comments from the submitter in these threads will be stickiedA list of stringsN/A
top_level_onlyWhether to only sticky top level commentsTrue or falseTrue
headerHeader of stickied commentsA stringNone
allow_commandsWhether to allow stickying a link to a comment by replying to it with !stickyTrue or falseTrue
remove_commandsWhether to remove !sticky commands while performing themTrue or falseFalse
replace_previousWhether to replace previous linked comments with new ones so that only one is listed at a timeTrue or falseFalse
max_quote_charsMaximum number of characters to include in quotesIntegerNone
max_quote_linesMaximum number of lines to include in quotesIntegerNone

Example

The following is an example config which will sticky a link to the top of any threads where someone with the user flair class "dev-official" has posted a comment:

header: 'Comments made by Game Development Studios in this thread:'
flair_css_classes: ['dev-official']