mattermost-slashbot
A Hubot script that parses slash commands from Mattermost, forwards them to the bot, then formats the bot response to be slash command friendly.
Last updated 4 years ago by wpears .
CC0 · Repository · Bugs · Original npm · Tarball · package.json
$ cnpm install mattermost-slashbot 
SYNC missed versions from official npm registry.

mattermost-slashbot Build Status npm

:cat: 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

Current Tags

  • 1.0.1                                ...           latest (4 years ago)

2 Versions

  • 1.0.1                                ...           4 years ago
  • 1.0.0                                ...           4 years ago
Maintainers (1)
Downloads
Today 0
This Week 0
This Month 0
Last Day 0
Last Week 0
Last Month 0
Dependencies (2)
Dev Dependencies (3)
Dependents (1)

Copyright 2014 - 2016 © taobao.org |