foxwells.vinboard: fix avatarURL
This commit is contained in:
parent
4416320e4c
commit
956e95b780
1 changed files with 1 additions and 2 deletions
|
@ -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],
|
||||
|
|
Loading…
Reference in a new issue