almeida review.mp4
Signed-off-by: GitHub <noreply@github.com>
This commit is contained in:
parent
e0637a206f
commit
2b5a5e636a
18 changed files with 29 additions and 36 deletions
|
@ -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.
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue