3
0
mirror of https://github.com/reality/dbot.git synced 2024-12-24 03:33:07 +01:00

remove imgur from the search terms lol (fix regexen)

This commit is contained in:
reality 2013-08-25 19:07:11 +00:00
parent ab9cfb1469
commit cb38352519

View File

@ -191,7 +191,7 @@ var imgur = function(dbot) {
}.bind(this));
}
}
this.commands['~imgur'].regex = [/^~([\d\w\s-]*)/, 2];
this.commands['~imgur'].regex = [/^~imgur ([\d\w\s-]*)/, 2];
this.onLoad = function() {
var imgurHandler = function(matches, name, callback) {