You can ask this bot about your PR 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.
- create a file
helloWorldCommand.js - 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);
}