Update modules/js/js.js

This commit is contained in:
Dafydd Francis 2013-02-11 16:12:44 +00:00
parent 3f2bb2bde1
commit 7053b34bc4

View File

@ -25,14 +25,10 @@ var js = function(dbot) {
if(ret !== undefined) { if(ret !== undefined) {
event.reply(ret); event.reply(ret);
} }
},
'jesus': function (event) {
event.reply(event.user + ": s/(.)(.)(.)(..)/\4\2 \1\3/")
} }
}; };
commands['~js'].regex = [/^~js (.*)/, 2]; commands['~js'].regex = [/^~js (.*)/, 2];
commands['~ajs'].regex = [/^~ajs (.*)/, 2]; commands['~ajs'].regex = [/^~ajs (.*)/, 2];
commands['jesus'].regex = [/^jesus$/, 2];
commands['~ajs'].access = 'admin'; commands['~ajs'].access = 'admin';
this.name = 'js'; this.name = 'js';