diff --git a/commands/info/message.js b/commands/info/message.js index d7ef5174..e56fa439 100644 --- a/commands/info/message.js +++ b/commands/info/message.js @@ -23,8 +23,8 @@ module.exports = class MessageInfoCommand extends Command { run(msg, { message }) { const embed = new MessageEmbed() .setColor(message.member ? message.member.displayHexColor : 0x00AE86) - .setThumbnail(message.author.displayAvatarURL()) - .setAuthor(msg.author.tag, msg.author.displayAvatarURL()) + .setThumbnail(message.author.displayAvatarURL({ format: 'png' })) + .setAuthor(msg.author.tag, msg.author.displayAvatarURL({ format: 'png' })) .setDescription(message.content) .setTimestamp(message.createdAt) .setFooter(`ID: ${message.id}`) diff --git a/commands/info/server.js b/commands/info/server.js index 49d55221..d72b0f07 100644 --- a/commands/info/server.js +++ b/commands/info/server.js @@ -21,7 +21,7 @@ module.exports = class ServerInfoCommand extends Command { if (!msg.guild.members.has(msg.guild.ownerID)) await msg.guild.members.fetch(msg.guild.ownerID); const embed = new MessageEmbed() .setColor(0x00AE86) - .setThumbnail(msg.guild.iconURL()) + .setThumbnail(msg.guild.iconURL({ format: 'png' })) .addField('❯ Name', msg.guild.name, true) .addField('❯ ID', msg.guild.id, true) .addField('❯ Region', msg.guild.region.toUpperCase(), true) diff --git a/commands/info/user.js b/commands/info/user.js index a853f697..f469dc4c 100644 --- a/commands/info/user.js +++ b/commands/info/user.js @@ -31,7 +31,7 @@ module.exports = class UserInfoCommand extends Command { async run(msg, { user }) { const embed = new MessageEmbed() - .setThumbnail(user.displayAvatarURL()) + .setThumbnail(user.displayAvatarURL({ format: 'png' })) .addField('❯ Name', user.tag, true) .addField('❯ ID', user.id, true) .addField('❯ Discord Join Date', moment.utc(user.createdAt).format('MM/DD/YYYY h:mm A'), true) diff --git a/commands/text-edit/embed.js b/commands/text-edit/embed.js index bfc3e42d..9a555287 100644 --- a/commands/text-edit/embed.js +++ b/commands/text-edit/embed.js @@ -20,11 +20,6 @@ module.exports = class EmbedCommand extends Command { } run(msg, { text }) { - const embed = new MessageEmbed() - .setAuthor(msg.author.tag, msg.author.displayAvatarURL()) - .setColor(0x00AE86) - .setTimestamp() - .setDescription(text); - return msg.embed(embed); + return msg.embed(new MessageEmbed().setDescription(text)); } }; diff --git a/package.json b/package.json index 86af7532..01842d85 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "xiao", - "version": "92.1.1", + "version": "92.1.2", "description": "Your personal server companion.", "main": "Xiao.js", "scripts": {