3
0
mirror of https://github.com/reality/dbot.git synced 2024-11-24 12:59:34 +01:00

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);
}
}
},
'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];
return {
'name': 'js',