mirror of
https://github.com/arthur-pbty/xiao.git
synced 2026-06-03 23:36:43 +02:00
Fix
This commit is contained in:
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user