3
0
mirror of https://github.com/reality/dbot.git synced 2024-12-18 00:22:35 +01:00

Merge pull request #270 from dafrancis/master

Delete Jesus from existance
This commit is contained in:
Luke Slater 2013-02-11 08:15:35 -08:00
commit c6d3b5ccf4

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';