Added timestamp and footer to the embed

merge-requests/9/head
DedShot™#9195 2020-04-30 02:34:15 -04:00
parent 4e492dfe2a
commit fa9eaf060b
1 changed files with 2 additions and 0 deletions

View File

@ -36,6 +36,8 @@ export default class Npm extends Command {
const embed = new RichEmbed();
embed.setColor(0xCC3534);
embed.setTimestamp();
embed.setFooter(this.client.user.username, this.client.user.avatarURL);
embed.setAuthor('NPM', 'https://i.imgur.com/ErKf5Y0.png', 'https://www.npmjs.com/');
embed.setDescription(`[NPM](https://www.npmjs.com/package/${args[0]}) | [Homepage](${homepage}) | [Repository](${repository}) | [Bugs](${bugs})`);
embed.addField('Name', name, true);