From fb316bab9c7154bfc45b173b540d9ce0f72262a0 Mon Sep 17 00:00:00 2001 From: Julian Vennen Date: Mon, 6 Jan 2025 15:59:28 +0100 Subject: [PATCH] Add missing space in bulk delete log message (fix #609) --- src/events/discord/MessageDeleteBulkEventListener.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/events/discord/MessageDeleteBulkEventListener.js b/src/events/discord/MessageDeleteBulkEventListener.js index 6d6a24dee..71b226d3f 100644 --- a/src/events/discord/MessageDeleteBulkEventListener.js +++ b/src/events/discord/MessageDeleteBulkEventListener.js @@ -36,7 +36,7 @@ export default class MessageDeleteBulkEventListener extends EventListener { let data = `${userMention(message.author.id)} (${message.id})`; if (attachmentCount) { - data += `${attachmentCount} file${attachmentCount === 1 ? '' : 's'}`; + data += ` ${attachmentCount} file${attachmentCount === 1 ? '' : 's'}`; } if (content) { data += `: ${content}\n`; @@ -60,4 +60,4 @@ export default class MessageDeleteBulkEventListener extends EventListener { files: attachments.slice(0, MESSAGE_FILE_LIMIT) }); } -} \ No newline at end of file +}