forked from GitHub/dbot
whoops
This commit is contained in:
parent
439d25f9b0
commit
3df467e35e
@ -47,7 +47,7 @@ var imdb = function(dbot) {
|
|||||||
}.bind(this));
|
}.bind(this));
|
||||||
}
|
}
|
||||||
};
|
};
|
||||||
this.commands['~imdb'].regex = [/^~film (.+)$/, 2];
|
this.commands['~imdb'].regex = [/^~imdb (.+)$/, 2];
|
||||||
|
|
||||||
this.onLoad = function() {
|
this.onLoad = function() {
|
||||||
dbot.api.link.addHandler('imdb', /https?:\/\/(www\.)?imdb\.com\/title\/([a-zA-Z0-9]+)/, function(matches, name, callback) {
|
dbot.api.link.addHandler('imdb', /https?:\/\/(www\.)?imdb\.com\/title\/([a-zA-Z0-9]+)/, function(matches, name, callback) {
|
||||||
|
Loading…
Reference in New Issue
Block a user