Update main.js
This commit is contained in:
parent
88fc4ab9a7
commit
6924fa2f0f
1 changed files with 1 additions and 1 deletions
2
main.js
2
main.js
|
@ -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;
|
||||
|
|
Loading…
Reference in a new issue