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:
parent
6a28327d5c
commit
e1f4d0c200
@ -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',
|
||||||
|
Loading…
Reference in New Issue
Block a user