diff --git a/src/modules/foxwells.js b/src/modules/foxwells.js index ca0e8b8..4e307ad 100644 --- a/src/modules/foxwells.js +++ b/src/modules/foxwells.js @@ -238,8 +238,9 @@ async function createBoardMessage(msg, count) { } return { - avatarURL: msg.member.avatarURL("png", 256), - username: msg.member.displayName, + avatarURL: + msg.member?.avatarURL("png", 256) ?? msg.author.avatarURL("png", 256), + username: msg.member?.displayName ?? msg.author.username, threadID: VINBOARD_THREAD_ID, threadName: "Vinboard", embeds: [embed],