Browse Source

Use message.author.avatarURL() instead of message.avatarURL()

master
Abheek Dhawan 4 years ago
parent
commit
34b56ac372
  1. 2
      index.js

2
index.js

@ -25,7 +25,7 @@ client.on('messageDelete', message => {
if (message) {
messageAuthor = message.author.tag;
messageContent = message.content;
messageAvatar = message.avatarURL();
messageAvatar = message.author.avatarURL();
messageID = message.id;
} else {
messageAuthor = "Someone else deleted this message";

Loading…
Cancel
Save