Skip to content

Commit

Permalink
Add use_hoisted_top_role config help details.
Browse files Browse the repository at this point in the history
  • Loading branch information
scragly committed Sep 7, 2021
1 parent 7922a97 commit 655e063
Showing 1 changed file with 11 additions and 0 deletions.
11 changes: 11 additions & 0 deletions core/config_help.json
Original file line number Diff line number Diff line change
Expand Up @@ -1121,5 +1121,16 @@
"notes": [
"This configuration can only to be set through `.env` file or environment (config) variables."
]
},
"use_hoisted_top_role": {
"default": "Yes",
"description": "Controls if only hoisted roles are evaluated when finding top role.",
"examples": [
],
"notes": [
"Top role is displayed in embeds when replying or adding/removing users to a thread in the case mod_tag and anon_username are not set.",
"If this configuration is enabled, only roles that are hoisted (displayed seperately in member list) will be used. If a user has no hoisted roles, it will return 'None'.",
"If you would like to display the top role of a user regardless of if it's hoisted or not, disable `use_hoisted_top_role`."
]
}
}

0 comments on commit 655e063

Please sign in to comment.