3
0
mirror of https://github.com/reality/dbot.git synced 2024-11-23 20:39:25 +01:00

slim down the normal announcement

Specifying that images are non-animated each time isn't really required, and causes the string to be rather long. Stripping this implicit property makes it look a bit nicer.
This commit is contained in:
Douglas Gardner 2013-04-13 22:40:35 +00:00
parent c1f642084d
commit 7d0162afff

View File

@ -20,7 +20,7 @@ var imgur = function(dbot) {
if(imgData.animated) { if(imgData.animated) {
info += 'an animated ' + imgData.type.split('/')[1] + ' with '; info += 'an animated ' + imgData.type.split('/')[1] + ' with ';
} else { } else {
info += 'a non-animated ' + imgData.type.split('/')[1] + ' with '; info += 'a ' + imgData.type.split('/')[1] + ' with ';
} }
} else { } else {
info += 'an image with '; info += 'an image with ';