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 {
|
return {
|
||||||
avatarURL:
|
avatarURL: msg.member?.avatarURL ?? msg.author.avatarURL,
|
||||||
msg.member?.avatarURL("png", 256) ?? msg.author.avatarURL("png", 256),
|
|
||||||
username: msg.member?.displayName ?? msg.author.username,
|
username: msg.member?.displayName ?? msg.author.username,
|
||||||
threadID: VINBOARD_THREAD_ID,
|
threadID: VINBOARD_THREAD_ID,
|
||||||
embeds: [embed],
|
embeds: [embed],
|
||||||
|
|
Loading…
Reference in a new issue