mirror of
https://github.com/ZeppelinBot/Zeppelin.git
synced 2025-03-15 05:41:51 +00:00
always set author icon url using dynamic
This commit is contained in:
parent
9539c5a7de
commit
87cc461c79
1 changed files with 1 additions and 3 deletions
|
@ -28,9 +28,7 @@ export function createStarboardEmbedFromMessage(
|
|||
embed.color = color;
|
||||
}
|
||||
|
||||
if (msg.author.avatarURL()) {
|
||||
embed.author.icon_url = msg.author.avatarURL()!;
|
||||
}
|
||||
embed.author.icon_url = msg.author.displayAvatarURL({ dynamic: true });
|
||||
|
||||
// The second condition here checks for messages with only an image link that is then embedded.
|
||||
// The message content in that case is hidden by the Discord client, so we hide it here too.
|
||||
|
|
Loading…
Add table
Reference in a new issue