Update main.js

This commit is contained in:
ZyLacx 2020-11-04 17:50:00 +01:00
parent 88fc4ab9a7
commit 6924fa2f0f

View file

@ -36,7 +36,7 @@ client.on('message', message => {
}
else if (message.attachments.first() != undefined) {
let storedMessage = message.attachments.first();
link = new Discord.MessageAttachment(message.url);
link = message.url;
messageId = message.id;
author = message.author.username;
yes = true;