Skip to content

Commit

Permalink
Syntax error
Browse files Browse the repository at this point in the history
  • Loading branch information
Glazelf committed Jun 25, 2024
1 parent 4c4b75e commit 5b493e5
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions events/messageUpdate.js
Original file line number Diff line number Diff line change
Expand Up @@ -31,8 +31,8 @@ export default async (client, message, newMessage) => {
messageImage = message.attachments.first().proxyURL;
messageAttachmentsTitle += ` (${Object.entries(message.attachments).length})`;
message.attachments.forEach(attachment => {
if (messageAttachmentsString.length < 1024) messageAttachmentsString += `${attachment.proxyURL}\n`);
};
if (messageAttachmentsString.length < 1024) messageAttachmentsString += `${attachment.proxyURL}\n`;
});
};
// Content checks
let messageContent = message.content;
Expand Down

0 comments on commit 5b493e5

Please sign in to comment.