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