3
0
mirror of https://github.com/reality/dbot.git synced 2024-11-24 04:49:25 +01:00

no blank at end

This commit is contained in:
reality 2013-04-09 22:15:17 +00:00
parent 52d232a2e6
commit b038ecf63f

View File

@ -28,7 +28,7 @@ var flashy = function(dbot) {
'path': 'flashy/' + colour + '/' + encodeURIComponent(text) 'path': 'flashy/' + colour + '/' + encodeURIComponent(text)
})); }));
} else { } else {
var possibleColours = _.keys(this.colourMap).join(', ').slice(0, -2) + '.'; var possibleColours = _.keys(this.colourMap).join(', ') + '.';
event.reply('No such colour, brah. Available colours are: ' + possibleColours); event.reply('No such colour, brah. Available colours are: ' + possibleColours);
} }
} }