From 1e23b008efee6ece6ebca17a5d74c020917b88f8 Mon Sep 17 00:00:00 2001 From: supinic Date: Tue, 19 Nov 2024 17:57:04 +0100 Subject: [PATCH] remove redundant comma --- classes/reminder.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/classes/reminder.js b/classes/reminder.js index c9e35204..d242f1b8 100644 --- a/classes/reminder.js +++ b/classes/reminder.js @@ -473,7 +473,7 @@ module.exports = class Reminder extends require("./template.js") { const uncheckedAuthorMention = await platform.createUserMention(fromUserData); const authorBanphraseCheck = await sb.Banphrase.execute(uncheckedAuthorMention, channelData); - const authorMention = (authorBanphraseCheck.passed) ? `${uncheckedAuthorMention},` : "[Banphrased username],"; + const authorMention = (authorBanphraseCheck.passed) ? `${uncheckedAuthorMention}` : "[Banphrased username]"; const targetMention = await platform.createUserMention(targetUserData); let message = `${authorMention}, ${targetMention} just typed in channel ${channelName}`;