From fa9eaf060be5a6a47ffc5a4aac70fb2bc70093b3 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?DedShot=E2=84=A2=239195?= Date: Thu, 30 Apr 2020 02:34:15 -0400 Subject: [PATCH] Added timestamp and footer to the embed --- src/commands/mdn.ts | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/commands/mdn.ts b/src/commands/mdn.ts index cd5e084..5ef7e3c 100644 --- a/src/commands/mdn.ts +++ b/src/commands/mdn.ts @@ -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);