From f5ec74c54943944dc4dc84daddf6fc4e3b6e6b78 Mon Sep 17 00:00:00 2001 From: Luke Slater Date: Wed, 12 Oct 2011 16:43:09 +0100 Subject: [PATCH] js --- modules/js.js | 12 +++++++++++- 1 file changed, 11 insertions(+), 1 deletion(-) 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); +};