Skip to content

Commit

Permalink
Update help
Browse files Browse the repository at this point in the history
  • Loading branch information
samr28 authored Aug 22, 2017
1 parent df66bbd commit 5d556bd
Showing 1 changed file with 3 additions and 4 deletions.
7 changes: 3 additions & 4 deletions scripts/hubot-agenda.js
Original file line number Diff line number Diff line change
Expand Up @@ -4,9 +4,8 @@
// Commands:
// hubot add <item> - Adds <item> to the agenda
// hubot rm/rem/remove <item> - Removes <item> from the agenda
// hubot li/list - List the agenda
// hubot add schedule - Update the schedule
// hubot set schedule <date> - 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

Expand Down Expand Up @@ -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'));
Expand Down

0 comments on commit 5d556bd

Please sign in to comment.