|
@ -660,8 +660,8 @@ client.on('messageDelete', message => { |
|
|
messageAuthor = message.author.tag; |
|
|
messageAuthor = message.author.tag; |
|
|
messageAvatar = message.author.avatarURL(); |
|
|
messageAvatar = message.author.avatarURL(); |
|
|
} else { |
|
|
} else { |
|
|
messageAuthor = "Someone else deleted this message"; |
|
|
messageAuthor = "Message was not cached"; |
|
|
messageAvatar = "https://www.myhowtoonline.com/wp-content/uploads/2020/10/discord-512x474.png"; |
|
|
messageAvatar = message.author.defaultAvatarURL; |
|
|
} |
|
|
} |
|
|
if (!messageContent) { |
|
|
if (!messageContent) { |
|
|
messageContent = "[NONE]"; |
|
|
messageContent = "[NONE]"; |
|
|