Skip to content

Run bot commands as mattermost slash commands with in-place responses

License

Notifications You must be signed in to change notification settings

catops/mattermost-slashbot

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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

About

Run bot commands as mattermost slash commands with in-place responses

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published