mattermost-slashbot
v1.0.1
Published
A Hubot script that parses slash commands from Mattermost, forwards them to the bot, then formats the bot response to be slash command friendly.
Downloads
4
Maintainers
Readme
mattermost-slashbot
: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.