mattermost-slashbot

    1.0.1 • Public • Published

    mattermost-slashbot Build Status npm

    🐱 A Hubot script that parses slash commands from Mattermost, forwards them to the bot, then formats the bot response to be slash command friendly.

    See src/mattermost-slashbot.js for full documentation.

    Installation

    In hubot project repo, run:

    npm install mattermost-slashbot --save

    Then add mattermost-slashbot to your external-scripts.json:

    ["mattermost-slashbot"]

    Sample Interaction

    Setup webhook that posts to /hubot/command/

    User types:

    /bot ping
    

    Everyone sees:

    User [BOT]: PONG
    

    Contributing

    Please read our general contributing guidelines.

    Open source licensing info

    1. TERMS
    2. LICENSE
    3. CFPB Source Code Policy

    Install

    npm i mattermost-slashbot

    DownloadsWeekly Downloads

    2

    Version

    1.0.1

    License

    CC0

    Last publish

    Collaborators

    • wpears