change youtube to yt

This commit is contained in:
reality 2014-07-14 13:42:56 +00:00
parent 60f9c5ef29
commit c0e8a588ec

View File

@ -74,7 +74,7 @@ var youtube = function(dbot) {
}.bind(this)); }.bind(this));
} }
}; };
this.commands['~yt'].regex = [/^youtube (.+)$/, 2]; this.commands['~yt'].regex = [/^yt (.+)$/, 2];
this.onLoad = function() { this.onLoad = function() {
dbot.api.link.addHandler(this.name, this.LinkRegex, dbot.api.link.addHandler(this.name, this.LinkRegex,