Update main.js

This commit is contained in:
ZyLacx 2020-11-03 12:49:45 +01:00
parent 1345f7927c
commit ba96d77cf4

View file

@ -29,7 +29,7 @@ client.on('message', message => {
if (message.content.startsWith("http")) {
author = message.author.username;
storedLink = message.content;
link = new Discord.MessageAttachment(message.content);
messageId = message.id;
yes = true;
linkNo++;
@ -66,7 +66,7 @@ client.on('message', message => {
toDelete.delete();
let getChannel = client.channels.cache.get(channelId);
getChannel.send(author + "\n" + storedLink);
getChannel.send(author + "\n" + link);
}
yes = false;