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