foxwells.vinboard: fix avatarURL

This commit is contained in:
Cynthia Foxwell 2023-01-21 22:34:43 -07:00
parent 4416320e4c
commit 956e95b780
1 changed files with 1 additions and 2 deletions

View File

@ -239,8 +239,7 @@ async function createBoardMessage(msg, count, fetchAttachment = true) {
}
return {
avatarURL:
msg.member?.avatarURL("png", 256) ?? msg.author.avatarURL("png", 256),
avatarURL: msg.member?.avatarURL ?? msg.author.avatarURL,
username: msg.member?.displayName ?? msg.author.username,
threadID: VINBOARD_THREAD_ID,
embeds: [embed],