moderator-toolbox-nxg-for-reddit / modules/modviewenhancements/settings

modules/modviewenhancements/settings

Type Aliases

ModViewEnhancementsSettings

ModViewEnhancementsSettings = InferSettings<typeof settings>

Defined in: extension/data/modules/modviewenhancements/settings.ts:77

Inferred settings type for the Mod View Enhancements module.

Variables

settings

const settings: readonly [{ default: false; description: "Add a border to items in the queue with color unique to the subreddit name."; id: "subredditColor"; sharedPolicy: "raw"; type: "boolean"; }, { advanced: true; default: "PJSalt"; description: "Text to randomly change the subreddit color (only applies when subreddit color borders are enabled)"; id: "subredditColorSalt"; sharedPolicy: "populated"; type: "text"; }, { default: { }; description: "Override the auto-generated border color for specific subreddits. Enter the subreddit name and a hex color (e.g. #ff0000). Only applies when subreddit color borders are enabled."; id: "subredditColorOverrides"; labels: ["subreddit", "color (#rrggbb)"]; type: "map"; }, { default: false; description: "Highlight posts with a score of 0."; id: "highlightNegativePosts"; sharedPolicy: "raw"; type: "boolean"; }, { default: true; description: "Show the action reason from automoderator below submissions and comments."; id: "showAutomodActionReason"; oldReddit: true; sharedPolicy: "raw"; type: "boolean"; }, { default: readonly ["AutoModerator"]; description: "Make bot approved checkmarks have a different look"; id: "botCheckmark"; oldReddit: true; placeholder: "Bot username"; previewImageUrl: string; sharedPolicy: "length"; type: "stringlist"; }, { default: true; description: "Highlight words in bot mods report and action reasons which are enclosed in []. Can be used to highlight bot mods regex matches."; id: "highlightAutomodMatches"; sharedPolicy: "raw"; type: "boolean"; }, { default: false; description: "Also highlight bracketed bot/automod report matches outside the mod queue (e.g. subreddit listings and comment pages, when viewed as a mod). Old Reddit only."; id: "highlightAutomodMatchesSubreddit"; oldReddit: true; sharedPolicy: "raw"; type: "boolean"; }]

Defined in: extension/data/modules/modviewenhancements/settings.ts:5