             msg.send "No previous AOTWs"
 
     nominate: (msg) ->
-        if msg.match[1] != ""
-            url = msg.match[2]
+        if msg.match[1] != "nominate"
+            url = msg.match[1].split(" ")[1]
             spotify = /^https?:\/\/(open|play)\.spotify\.com\/(album|track|user\/[^\/]+\/playlist)\/([a-zA-Z0-9]+)$/
             googlePlay = /^https?:\/\/(music|play)\.google\.com\/music\/m\/([a-zA-Z0-9]+)$/
             youtube = /^https?:\/\/(?:www\.)?youtube.com\/watch\?(?=.*v=\w+)(?:\S+)?$/
-            soundCloud = /^https?:\/\/(soundcloud.com)\/(.*)\/(sets)\/(.*)$/   
+            soundCloud = /^https?:\/\/(soundcloud.com)\/(.*)\/(sets)\/(.*)$/
             if url.match(spotify) or url.match(googlePlay) or url.match(youtube) or url.match(soundCloud)
                 user = msg.message.user.name.toLowerCase()
                 try
-                    @storage.nominations.push(user: user, url: msg.match[2])
+                    @storage.nominations.push(user: user, url: url)
                 catch
                     @storage.nominations = []
-                    @storage.nominations.push(user: user, url: msg.match[2])
+                    @storage.nominations.push(user: user, url: url)
                 finally
                     @save
                     msg.send "Nomination saved"

            msg.send "Invalid nomination: missing url"

    printNominations: (msg) ->
        if msg.match[1] != ""
            limit = msg.match[2]
        else
            limit = 9999

        if @storage.nominations && @storage.nominations.length > 0
            msg.send "Total of #{@storage.nominations.length} nominations"
            i = 0
            while i < @storage.nominations.length
                nomination = @storage.nominations[i]
                msg.send "#{i + 1} - #{nomination["user"]} - #{nomination["url"]}"
                i++

        msg.send "All AOTW data has been reset"

    select: (msg) ->
        if msg.match[1] != "select"
            if msg.match[1].split(" ")[1] <= @storage.nominations.length && msg.match[1].split(" ")[1] > 0
                i = msg.match[1].split(" ")[1]
                selected = @storage.nominations[i - 1]
                try
                    @storage.history.push selected
