Skip to content

Commit

Permalink
⚡ Use dynamic for iconURL so it shows GIF images
Browse files Browse the repository at this point in the history
  • Loading branch information
Androz2091 committed Aug 14, 2020
1 parent c99ecff commit 30115ec
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions commands/General/serverinfo.js
Original file line number Diff line number Diff line change
Expand Up @@ -34,8 +34,8 @@ class Serverinfo extends Command {
guild = await guild.fetch();

const embed = new Discord.MessageEmbed()
.setAuthor(guild.name, guild.iconURL())
.setThumbnail(guild.iconURL())
.setAuthor(guild.name, guild.iconURL({ dynamic: true }))
.setThumbnail(guild.iconURL({ dynamic: true }))
.addField(this.client.customEmojis.title+message.translate("common:NAME"), guild.name, true)
.addField(this.client.customEmojis.calendar+message.translate("common:CREATION"), message.printDate(guild.createdAt), true)
.addField(this.client.customEmojis.users+message.translate("common:MEMBERS"), message.translate("general/serverinfo:MEMBERS", {
Expand Down

0 comments on commit 30115ec

Please sign in to comment.