forked from GitHub/dbot
merge nicks
This commit is contained in:
parent
10f853c921
commit
a9dff5c39e
@ -107,6 +107,10 @@ var words = function(dbot) {
|
||||
event.reply(event.params[1].split('').sort(function() {
|
||||
return (Math.round(Math.random()) - 0.5);
|
||||
}).join(''));
|
||||
},
|
||||
|
||||
'~merge': function(event) {
|
||||
var a = event.params[1]; var b = event.params[2]; event.reply(a.slice(0,_.random(1,a.length)) + b.slice(_.random(b.length-1)));
|
||||
}
|
||||
};
|
||||
this.commands['~jimble'].regex = [/^jimble (.+)$/, 2];
|
||||
|
Loading…
Reference in New Issue
Block a user