Update modules/js/js.js

jesus
This commit is contained in:
Dafydd Francis 2012-12-21 14:10:21 +00:00
parent 6a28327d5c
commit e1f4d0c200

View File

@ -28,10 +28,14 @@ var js = function(dbot) {
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];
return { return {
'name': 'js', 'name': 'js',