diff --git a/modules/admin.js b/modules/admin.js index 7ddc950..678e707 100644 --- a/modules/admin.js +++ b/modules/admin.js @@ -25,6 +25,7 @@ var adminCommands = function(dbot) { child = exec("git pull", function (error, stdout, stderr) { console.log(stderr); + dbot.say(data.channel, 'Git pulled that shit.'); commands.reload(data, params); }.bind(this)); }, diff --git a/modules/quotes.js b/modules/quotes.js index f4b1641..141e73f 100644 --- a/modules/quotes.js +++ b/modules/quotes.js @@ -179,7 +179,7 @@ var quotes = function(dbot) { }, '~qadd': function(data, params) { - var q = data.message.valMatch(/^~qadd ([\d\w\s-]*)=(.+)$/, 3); + var q = data.message.valMatch(/^~qadd ([\d\w\s-]*)\t?=\t?(.+)$/, 3); if(q) { key = q[1].toLowerCase(); if(!Object.isArray(quotes[key])) {