From 56bbc0212fd5ada822a38f6a4450899bb8287d16 Mon Sep 17 00:00:00 2001 From: loicbersier Date: Sun, 27 Oct 2019 13:19:54 +0100 Subject: [PATCH] Fix image not showing for the author and make author name the bot username and add field for the current maintainer --- commands/utility/about.js | 8 +++----- 1 file changed, 3 insertions(+), 5 deletions(-) diff --git a/commands/utility/about.js b/commands/utility/about.js index 5099eb2c..3900f5cb 100644 --- a/commands/utility/about.js +++ b/commands/utility/about.js @@ -30,16 +30,14 @@ class aboutCommand extends Command { } - - - const aboutEmbed = new MessageEmbed() .setColor('#ff9900') - .setAuthor(`${this.client.users.get(ownerID).username}#${this.client.users.get(ownerID).discriminator} (${ownerID})`, this.client.user.avatarURL) + .setAuthor(this.client.user.username, this.client.user.avatarURL()) .setTitle('About me') .setURL('https://gitlab.com/LoicBersier/DiscordBot') .setDescription(description) - .setFooter(`Gitlab link in the title | Original bot made by ${this.client.users.get('267065637183029248').username}#${this.client.users.get('267065637183029248').discriminator} (267065637183029248)`); + .addField('Current maintainer: ', `${this.client.users.get(ownerID).username}#${this.client.users.get(ownerID).discriminator} (${ownerID})`) + .setFooter(`Gitlab link in the title | Original bot made by ${this.client.users.get('267065637183029248').username}#${this.client.users.get('267065637183029248').discriminator} (267065637183029248)`); // Please don't change the "original bot made by" message.channel.send(aboutEmbed); }