Merge pull request #76 from dafrancis/master

#YOLO
This commit is contained in:
Luke Slater 2013-02-11 05:21:43 -08:00
commit c7a2b81e5e
2 changed files with 7 additions and 3 deletions

View File

@ -14,7 +14,7 @@ var dent = function(dbot) {
request.post({
'url': 'http://identi.ca/api/statuses/update.json?status=' +
content,
escape(content),
'headers': {
'Authorization': auth
}

View File

@ -25,10 +25,14 @@ var js = function(dbot) {
if(ret !== undefined) {
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];
commands['~ajs'].access = 'admin';
this.name = 'js';