forked from Brightscout/mattermost-plugin-disable-dm
-
Notifications
You must be signed in to change notification settings - Fork 0
/
plugin.json
36 lines (36 loc) · 1.18 KB
/
plugin.json
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
{
"id": "disable-dm",
"version": "1.0.0",
"name": "Disable DM",
"description": "A Mattermost plugin to disable direct messages and group chats.",
"server": {
"executable": "server/plugin.exe"
},
"settings_schema": {
"settings": [
{
"key": "RejectDMs",
"display_name": "Reject DMs:",
"type": "bool",
"default": true,
"help_text": "If set the plugin will reject direct messages."
},
{
"key": "RejectGroupChats",
"display_name": "Reject Group Chats:",
"type": "bool",
"default": true,
"help_text": "If set the plugin will reject messages sent to group chats."
},
{
"key": "RejectionMessage",
"display_name": "Rejection Message:",
"type": "text",
"help_text": "Enter the message to display to users who try to send a direct message.",
"default": "Direct messages have been disabled by an administrator."
}
],
"header": "",
"footer": ""
}
}