Set inboxServerPermission to manageMessages by default
With single server setups being extremely common, this is a safer default than not requiring any permissions at all.cshd
parent
179361d761
commit
8662917bea
|
@ -18,7 +18,7 @@
|
||||||
* @property {string} [mentionRole="here"]
|
* @property {string} [mentionRole="here"]
|
||||||
* @property {boolean} [pingOnBotMention=true]
|
* @property {boolean} [pingOnBotMention=true]
|
||||||
* @property {string} [botMentionResponse]
|
* @property {string} [botMentionResponse]
|
||||||
* @property {array} [inboxServerPermission=[]]
|
* @property {array} [inboxServerPermission=["manageMessages"]]
|
||||||
* @property {boolean} [alwaysReply=false]
|
* @property {boolean} [alwaysReply=false]
|
||||||
* @property {boolean} [alwaysReplyAnon=false]
|
* @property {boolean} [alwaysReplyAnon=false]
|
||||||
* @property {boolean} [useNicknames=false]
|
* @property {boolean} [useNicknames=false]
|
||||||
|
|
|
@ -115,7 +115,7 @@
|
||||||
|
|
||||||
"inboxServerPermission": {
|
"inboxServerPermission": {
|
||||||
"$ref": "#/definitions/stringArray",
|
"$ref": "#/definitions/stringArray",
|
||||||
"default": []
|
"default": ["manageMessages"]
|
||||||
},
|
},
|
||||||
"alwaysReply": {
|
"alwaysReply": {
|
||||||
"$ref": "#/definitions/customBoolean",
|
"$ref": "#/definitions/customBoolean",
|
||||||
|
|
Loading…
Reference in New Issue