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:
parent
52d232a2e6
commit
b038ecf63f
@ -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);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user