 
     cancelPending: (user) ->
         if reminder = @getPending user
-            console.debug "hubot-remind-advanced: Reminder cancelled."
             @pending.splice @pending.indexOf(reminder), 1
             return true
         false

class Reminder
    constructor: (@callback) ->
        @pending = []

    addPending: (user, message) ->
        reminder = @getPending user

# Commands:
#   hubot remind (me) <note> - Creates a new reminder using <note>
#   hubot remind cancel - Cancels the reminder operation
#   hubot remind (me) now - Returns all your reminders
#   hubot remind clear - Clears all your reminders
#
# Author:
#   MrSaints
