Enable !edit and !delete by default
parent
c437634a18
commit
099b5f9616
|
@ -8,6 +8,7 @@ Please report any bugs you encounter by [creating a GitHub issue](https://github
|
||||||
* Added support for Node.js 14, dropped support for Node.js 10 and 11
|
* Added support for Node.js 14, dropped support for Node.js 10 and 11
|
||||||
* The supported versions are now 12, 13, and 14
|
* The supported versions are now 12, 13, and 14
|
||||||
* Added support for editing and deleting staff replies
|
* Added support for editing and deleting staff replies
|
||||||
|
* This is **enabled by default**
|
||||||
* This can be disabled with the `allowStaffEdit` and `allowStaffDelete` options
|
* This can be disabled with the `allowStaffEdit` and `allowStaffDelete` options
|
||||||
* Only the staff member who sent the reply can edit/delete it
|
* Only the staff member who sent the reply can edit/delete it
|
||||||
* New option `reactOnSeen` ([#398](https://github.com/Dragory/modmailbot/pull/398) by @Eegras)
|
* New option `reactOnSeen` ([#398](https://github.com/Dragory/modmailbot/pull/398) by @Eegras)
|
||||||
|
|
|
@ -29,8 +29,8 @@
|
||||||
* @property {boolean} [typingProxyReverse=false]
|
* @property {boolean} [typingProxyReverse=false]
|
||||||
* @property {boolean} [mentionUserInThreadHeader=false]
|
* @property {boolean} [mentionUserInThreadHeader=false]
|
||||||
* @property {boolean} [rolesInThreadHeader=false]
|
* @property {boolean} [rolesInThreadHeader=false]
|
||||||
* @property {boolean} [allowStaffEdit=false]
|
* @property {boolean} [allowStaffEdit=true]
|
||||||
* @property {boolean} [allowStaffDelete=false]
|
* @property {boolean} [allowStaffDelete=true]
|
||||||
* @property {boolean} [enableGreeting=false]
|
* @property {boolean} [enableGreeting=false]
|
||||||
* @property {string} [greetingMessage]
|
* @property {string} [greetingMessage]
|
||||||
* @property {string} [greetingAttachment]
|
* @property {string} [greetingAttachment]
|
||||||
|
|
|
@ -158,11 +158,11 @@
|
||||||
},
|
},
|
||||||
"allowStaffEdit": {
|
"allowStaffEdit": {
|
||||||
"$ref": "#/definitions/customBoolean",
|
"$ref": "#/definitions/customBoolean",
|
||||||
"default": false
|
"default": true
|
||||||
},
|
},
|
||||||
"allowStaffDelete": {
|
"allowStaffDelete": {
|
||||||
"$ref": "#/definitions/customBoolean",
|
"$ref": "#/definitions/customBoolean",
|
||||||
"default": false
|
"default": true
|
||||||
},
|
},
|
||||||
|
|
||||||
"enableGreeting": {
|
"enableGreeting": {
|
||||||
|
|
Loading…
Reference in New Issue