mirror of
https://github.com/reality/dbot.git
synced 2024-12-24 11:42:36 +01:00
Update modules/js/js.js
This commit is contained in:
parent
3f2bb2bde1
commit
7053b34bc4
@ -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';
|
||||||
|
Loading…
Reference in New Issue
Block a user