From 35287aadd06d6a6b3074f5d5b0d9faeef297964a Mon Sep 17 00:00:00 2001 From: Dragon Fire Date: Sun, 4 Apr 2021 21:10:49 -0400 Subject: [PATCH] Fix --- commands/search/strain.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/commands/search/strain.js b/commands/search/strain.js index 64101122..d097d05c 100644 --- a/commands/search/strain.js +++ b/commands/search/strain.js @@ -42,7 +42,7 @@ module.exports = class StrainCommand extends Command { .setThumbnail(strain.nugImage || null) .setDescription(strain.shortDescriptionPlain || 'No description.') .setURL(`https://www.leafly.com/strains/${strain.slug}`) - .setFooter(strain.subtitle) + .setFooter(strain.subtitle || 'No alternative names.') .addField('❯ Effects', effects.map(effect => effect.name).join(', ')) .addField('❯ Phenotype', strain.phenotype, true) .addField('❯ Rating', `${formatNumber(strain.averageRating)} ⭐`, true);