3
0
mirror of https://github.com/reality/dbot.git synced 2024-12-24 19:52:36 +01:00
This commit is contained in:
reality 2013-10-13 04:51:15 +00:00
parent 439d25f9b0
commit 3df467e35e

View File

@ -47,7 +47,7 @@ var imdb = function(dbot) {
}.bind(this));
}
};
this.commands['~imdb'].regex = [/^~film (.+)$/, 2];
this.commands['~imdb'].regex = [/^~imdb (.+)$/, 2];
this.onLoad = function() {
dbot.api.link.addHandler('imdb', /https?:\/\/(www\.)?imdb\.com\/title\/([a-zA-Z0-9]+)/, function(matches, name, callback) {