From 5d556bd69715ee00a89143f3ebf6da0e7b112bcd Mon Sep 17 00:00:00 2001 From: Sam Date: Tue, 22 Aug 2017 14:53:51 -0500 Subject: [PATCH] Update help --- scripts/hubot-agenda.js | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/scripts/hubot-agenda.js b/scripts/hubot-agenda.js index d8e5d4c..6788147 100644 --- a/scripts/hubot-agenda.js +++ b/scripts/hubot-agenda.js @@ -4,9 +4,8 @@ // Commands: // hubot add - Adds to the agenda // hubot rm/rem/remove - Removes from the agenda -// hubot li/list - List the agenda -// hubot add schedule - Update the schedule -// hubot set schedule - Set the schedule to a specific date +// hubot li/ls/list - List the agenda +// hubot set schedule - Update the schedule // hubot up/uptime - Get the bot's uptime // hubot v/-v/version - get the bot's version @@ -41,7 +40,7 @@ module.exports = function (robot) { robot.respond(/(?:agenda )?set schedule/i, function (msg) { console.log('setSched'); if (!utils.checkUserSlackAdmin(msg)) { - return msg.send(new Error('You do not have permission to preform this action')); + return msg.send(new Error('You do not have permission to perform this action')); } if (utils.checkError(schedule.addSchedule(robot, msg, msg.match[1]))) { msg.send(new Error('An error occurred'));