Update main.js
This commit is contained in:
parent
7800b6c413
commit
1345f7927c
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) {
|
else if (message.attachments.first() != undefined) {
|
||||||
let storedMessage = message.attachments.first();
|
let storedMessage = message.attachments.first();
|
||||||
storedLink = storedMessage.url;
|
link = new Discord.MessageAttachment(message.url);
|
||||||
messageId = message.id;
|
messageId = message.id;
|
||||||
author = message.author.username;
|
author = message.author.username;
|
||||||
yes = true;
|
yes = true;
|
||||||
|
|
Loading…
Reference in a new issue