almeida review.mp4

Signed-off-by: GitHub <noreply@github.com>
This commit is contained in:
Tiago R 2023-11-26 17:02:54 +00:00
parent e0637a206f
commit 2b5a5e636a
18 changed files with 29 additions and 36 deletions

View file

@ -28,7 +28,7 @@ export function createStarboardEmbedFromMessage(
embed.color = color;
}
embed.author.icon_url = (msg.member || msg.author).displayAvatarURL();
embed.author.icon_url = (msg.member ?? msg.author).displayAvatarURL();
// 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.