mirror of
https://github.com/arthur-pbty/xiao.git
synced 2026-06-03 23:36:43 +02:00
Fix NPM
This commit is contained in:
@@ -34,11 +34,11 @@ module.exports = class NPMCommand extends Command {
|
||||
.addField('❯ Version',
|
||||
body['dist-tags'].latest, true)
|
||||
.addField('❯ License',
|
||||
body.license, true)
|
||||
body.license || 'None', true)
|
||||
.addField('❯ Author',
|
||||
body.author.name, true)
|
||||
body.author ? body.author.name : 'Unknown', true)
|
||||
.addField('❯ Keywords',
|
||||
body.keywords.join(', '))
|
||||
body.keywords ? body.keywords.join(', ') : 'None')
|
||||
.addField('❯ Maintainers',
|
||||
body.maintainers.map((user) => user.name).join(', '));
|
||||
return msg.embed(embed);
|
||||
|
||||
Reference in New Issue
Block a user