Skip to content

Commit

Permalink
Change default mentionRole value to none
Browse files Browse the repository at this point in the history
  • Loading branch information
Dragory committed Jan 7, 2021
1 parent b95c134 commit 4a2edc6
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 4 deletions.
3 changes: 1 addition & 2 deletions docs/configuration.md
Original file line number Diff line number Diff line change
Expand Up @@ -264,10 +264,9 @@ Alias for [mainServerId](#mainServerId)
Alias for [inboxServerId](#inboxServerId)

#### mentionRole
**Default:** `here`
**Default:** `none`
**Accepts multiple values.** Role that is mentioned when new threads are created or the bot is mentioned.
Accepted values are `none`, `here`, `everyone`, or a role id.
Requires `pingOnBotMention` to be enabled.
Set to `none` to disable these pings entirely.

#### mentionUserInThreadHeader
Expand Down
2 changes: 1 addition & 1 deletion src/data/cfg.jsdoc.js
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@
* @property {string} [closeMessage]
* @property {boolean} [allowUserClose=false]
* @property {string} [newThreadCategoryId]
* @property {string} [mentionRole="here"]
* @property {string} [mentionRole="none"]
* @property {boolean} [pingOnBotMention=true]
* @property {string} [botMentionResponse]
* @property {array} [inboxServerPermission=["manageMessages"]]
Expand Down
2 changes: 1 addition & 1 deletion src/data/cfg.schema.json
Original file line number Diff line number Diff line change
Expand Up @@ -103,7 +103,7 @@
},
"mentionRole": {
"type": "string",
"default": "here"
"default": "none"
},
"pingOnBotMention": {
"$ref": "#/definitions/customBoolean",
Expand Down

0 comments on commit 4a2edc6

Please sign in to comment.