From 66c036726567eee89062321fb077b9e029075aee Mon Sep 17 00:00:00 2001 From: loicbersier Date: Mon, 2 Mar 2020 14:40:09 +0100 Subject: [PATCH] Made a nice embed --- event/listeners/commandstarted.js | 10 +++++++++- 1 file changed, 9 insertions(+), 1 deletion(-) diff --git a/event/listeners/commandstarted.js b/event/listeners/commandstarted.js index 218c4b2f..ab27158f 100644 --- a/event/listeners/commandstarted.js +++ b/event/listeners/commandstarted.js @@ -27,7 +27,15 @@ class commandStartedListener extends Listener { if (count < 10) { console.log('Gold triggered!'); this.client.user.setActivity('people buy haha yes gold™', { type: 'WATCHING' }); - return message.channel.send('To further utilize this command, please visit https://namejeff.xyz/gold', {files: ['./asset/img/gold.png']}); + let Embed = this.client.util.embed() + .setColor(message.member.displayHexColor) + .setTitle('Haha yes **gold**') + .setDescription('To further utilize this command, please visit https://namejeff.xyz/gold') + .attachFiles(['./asset/img/gold.png']) + .setImage('attachment://gold.png') + .setFooter('This is an april fool\'s joke, no command will EVER be behind a paywall'); + + return message.channel.send(Embed); } } }