plugin.json 2.05 KB
Newer Older
Benjamin Pill's avatar
Benjamin Pill committed
1
{
Benjamin Pill's avatar
Benjamin Pill committed
2
    "id": "matttermost-plugin-newchannelnotify",
Benjamin Pill's avatar
Benjamin Pill committed
3 4
    "name": "New Channel Notify",
    "description": "Notifies people for newly created channels",
5
    "version": "0.9.1",
Benjamin Pill's avatar
Benjamin Pill committed
6 7 8 9 10 11 12 13 14 15 16 17 18 19
    "min_server_version": "5.10.0",
    "server": {
        "executables": {
            "linux-amd64": "server/dist/plugin-linux-amd64",
            "darwin-amd64": "server/dist/plugin-darwin-amd64",
            "windows-amd64": "server/dist/plugin-windows-amd64.exe"
        }
    },
    "settings_schema": {
        "settings": [
            {
                "key": "BotUserName",
                "display_name": "Bot Name",
                "type": "text",
20 21
                "help_text": "Must be lowercase. The bot user which is used to post the messages - non existing bots will be created automatically.",
                "placeholder": "Newchannelbot"
Benjamin Pill's avatar
Benjamin Pill committed
22 23 24 25 26 27 28 29 30 31 32 33 34 35
            },
            {
                "key": "ChannelToPost",
                "display_name": "Channel to Post",
                "type": "text",
                "help_text": "The channel where the bot will post to.",
                "placeholder": "town-square"
            },
            {
                "key": "IncludePrivateChannels",
                "display_name": "Include private channels",
                "type": "bool",
                "help_text": "Trigger the bot for new private channels too",
                "default": false  
36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53
            },
            {
                "key": "Mention",
                "display_name": "Mention",
                "type": "dropdown",
                "help_text": "Who gets mentioned.",
                "default": "@channel ",
                "options": [
                    {
                        "display_name": "@channel",
                        "value": "@channel "
                    },
                    {
                        "display_name": "@here",
                        "value": "@here "
                    },
                    {
                        "display_name": "None",
Benjamin Pill's avatar
Benjamin Pill committed
54
                        "value": " "
55 56
                    }
                ]
Benjamin Pill's avatar
Benjamin Pill committed
57 58 59 60
            }
        ]
    }
}