diff --git a/modules/js.js b/modules/js.js index a306a52..a6ef0b3 100644 --- a/modules/js.js +++ b/modules/js.js @@ -3,7 +3,7 @@ var js = function(dbot) { var commands = { '~js': function(data, params) { - var q = data.message.valMatch(/^~q ([\d\w\s]*)/, 2); + var q = data.message.valMatch(/^~js ([\d\w\s]*)/, 2); dbot.say(data.channel, eval(q)); } };