From 184ec5076e36abd3fa32afb63af677fecad5fbbd Mon Sep 17 00:00:00 2001 From: SileNce5k Date: Tue, 9 Mar 2021 17:35:06 +0100 Subject: [PATCH] Fix animated server-icons displaying as static images in serverinfo embed --- commands/serverinfo.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/commands/serverinfo.js b/commands/serverinfo.js index 2485d83..6dca94a 100644 --- a/commands/serverinfo.js +++ b/commands/serverinfo.js @@ -7,7 +7,7 @@ module.exports = { console.log(message.guild.emojis.cache) const embed = new Discord.MessageEmbed() - .setThumbnail(message.guild.iconURL()) + .setThumbnail(message.guild.iconURL({ format: 'png', dynamic: true, size: 4096 })) .setColor("#ee7939") .setTimestamp() .addField("Server Owner: ", `<@${message.guild.ownerID}>`)