mirror of
https://github.com/arthur-pbty/xiao.git
synced 2026-06-24 10:25:11 +02:00
A
This commit is contained in:
@@ -31,7 +31,7 @@ module.exports = class NPMCommand extends Command {
|
|||||||
.setAuthor('NPM', 'https://i.imgur.com/BCODHXd.png')
|
.setAuthor('NPM', 'https://i.imgur.com/BCODHXd.png')
|
||||||
.setTitle(body.name)
|
.setTitle(body.name)
|
||||||
.setURL(`https://www.npmjs.com/package/${query}`)
|
.setURL(`https://www.npmjs.com/package/${query}`)
|
||||||
.setDescription(body.description)
|
.setDescription(body.description || 'No Description.')
|
||||||
.addField('❯ Version',
|
.addField('❯ Version',
|
||||||
body['dist-tags'].latest, true)
|
body['dist-tags'].latest, true)
|
||||||
.addField('❯ License',
|
.addField('❯ License',
|
||||||
|
|||||||
Reference in New Issue
Block a user