Skip to content

harryi3t/gitAssist

Repository files navigation

gitAssist

You can ask this bot about your PR status.

Current Status

Implemented plugin style for commands. Each command has its own file containing the regex that will used to match the command requested and the run() method that will do that actual processing for the requested command.

How to create your own command

  1. create a file helloWorldCommand.js
  2. Enter these lines.
    'use strict';

    module.exports.pattern = /say\shello/i;
    module.exports.command  = 'say hello';
    module.exports.run = run;

    function run(commandText,callback){
      var replyMessageText = 'Hello World :simple_smile:';
      callback(replyMessageText);
    }

This will show:
SlackBot Image

About

A slack bot that helps with github tasks

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors