3
0
mirror of https://github.com/reality/dbot.git synced 2024-12-24 03:33:07 +01:00

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) {
event.reply(ret);
}
},
'jesus': function (event) {
event.reply(event.user + ": s/(.)(.)(.)(..)/\4\2 \1\3/")
}
};
commands['~js'].regex = [/^~js (.*)/, 2];
commands['~ajs'].regex = [/^~ajs (.*)/, 2];
commands['jesus'].regex = [/^jesus$/, 2];
commands['~ajs'].access = 'admin';
this.name = 'js';