diff --git a/modules/js.js b/modules/js.js index 3aaeb14..a306a52 100644 --- a/modules/js.js +++ b/modules/js.js @@ -7,4 +7,14 @@ var js = function(dbot) { dbot.say(data.channel, eval(q)); } }; -} + + return { + 'onLoad': function() { + return commands; + } + }; +}; + +exports.fetch = function(dbot) { + return js(dbot); +};