Update main.js
This commit is contained in:
parent
defe5b2d8e
commit
a14f3e8d41
1 changed files with 3 additions and 3 deletions
6
main.js
6
main.js
|
@ -125,9 +125,9 @@ function move(message, splits){
|
||||||
currAttachment = allAttachments.next().value
|
currAttachment = allAttachments.next().value
|
||||||
movedMessageContent.push(new Discord.MessageAttachment(currAttachment.url));
|
movedMessageContent.push(new Discord.MessageAttachment(currAttachment.url));
|
||||||
}
|
}
|
||||||
client.channels.cache.get(mentionedChannelId).send(movedMessageContent).then(msgToEdit => {
|
// client.channels.cache.get(mentionedChannelId).send(movedMessageContent).then(msgToEdit => {
|
||||||
msgToEdit.edit("Sent by <@" + msg.author + "> \nmooved <@" + message.author + ">\n" + msgToEdit.content);
|
// msgToEdit.edit("Sent by <@" + msg.author + "> \nmooved <@" + message.author + ">\n" + msgToEdit.content);
|
||||||
});
|
// });
|
||||||
}
|
}
|
||||||
else{
|
else{
|
||||||
movedMessageContent = msg.content;
|
movedMessageContent = msg.content;
|
||||||
|
|
Loading…
Reference in a new issue