From 819ddeff0ba0a41b48500718329d4952bb657856 Mon Sep 17 00:00:00 2001 From: OfficialR3ido101 Date: Tue, 12 Dec 2023 16:35:22 +0000 Subject: [PATCH 1/3] Removed markdown to make everyone happy --- scripts/communityScripts/chat/FloofChat.html | 3 ++- scripts/communityScripts/chat/FloofChat.js | 12 ++++++------ 2 files changed, 8 insertions(+), 7 deletions(-) diff --git a/scripts/communityScripts/chat/FloofChat.html b/scripts/communityScripts/chat/FloofChat.html index b2576ceba64..340b9305eaa 100644 --- a/scripts/communityScripts/chat/FloofChat.html +++ b/scripts/communityScripts/chat/FloofChat.html @@ -103,7 +103,8 @@ } for (var i = 0; i < messageParts.length; i++) { - messageFormatted.push(replaceFormatting(messageParts[i])); + //messageFormatted.push(replaceFormatting(messageParts[i])); + messageFormatted.push(messageParts[i]) } for (var i = 0; i < messageFormatted.length; i++) { diff --git a/scripts/communityScripts/chat/FloofChat.js b/scripts/communityScripts/chat/FloofChat.js index 84b18860b41..28abeed7b93 100644 --- a/scripts/communityScripts/chat/FloofChat.js +++ b/scripts/communityScripts/chat/FloofChat.js @@ -127,7 +127,7 @@ function connectWebSocket(timeout) { if (!muted["Grid"]) { Messages.sendLocalMessage(FLOOF_NOTIFICATION_CHANNEL, JSON.stringify({ sender: "(G) " + cmd.displayName, - text: replaceFormatting(cmd.message), + text: cmd.message, colour: {text: cmd.colour} })); } @@ -462,7 +462,7 @@ function messageReceived(channel, message, sender) { if (!muted["Local"]) { Messages.sendLocalMessage(FLOOF_NOTIFICATION_CHANNEL, JSON.stringify({ sender: "(L) " + cmd.displayName, - text: replaceFormatting(cmd.message), + text: cmd.message, colour: {text: cmd.colour} })); } @@ -477,7 +477,7 @@ function messageReceived(channel, message, sender) { if (!muted["Domain"]) { Messages.sendLocalMessage(FLOOF_NOTIFICATION_CHANNEL, JSON.stringify({ sender: "(D) " + cmd.displayName, - text: replaceFormatting(cmd.message), + text: cmd.message, colour: {text: cmd.colour} })); } @@ -491,7 +491,7 @@ function messageReceived(channel, message, sender) { if (!muted["Grid"]) { Messages.sendLocalMessage(FLOOF_NOTIFICATION_CHANNEL, JSON.stringify({ sender: "(G) " + cmd.displayName, - text: replaceFormatting(cmd.message), + text: cmd.message, colour: {text: cmd.colour} })); } @@ -504,7 +504,7 @@ function messageReceived(channel, message, sender) { Messages.sendLocalMessage(FLOOF_NOTIFICATION_CHANNEL, JSON.stringify({ sender: cmd.displayName, - text: replaceFormatting(cmd.message), + text: cmd.message, colour: {text: cmd.colour} })); } @@ -528,7 +528,7 @@ function messageReceived(channel, message, sender) { Messages.sendLocalMessage(FLOOF_NOTIFICATION_CHANNEL, JSON.stringify({ sender: "(" + cmd.category + ")", - text: replaceFormatting(cmd.message), + text: cmd.message, colour: {text: cmd.colour} })); } From b451571e10c60d47bb1e78a63b9e105f3440d8b6 Mon Sep 17 00:00:00 2001 From: OfficialR3ido101 Date: Tue, 12 Dec 2023 16:35:22 +0000 Subject: [PATCH 2/3] Removed markdown to make everyone happy --- scripts/communityScripts/chat/FloofChat.html | 1 - 1 file changed, 1 deletion(-) diff --git a/scripts/communityScripts/chat/FloofChat.html b/scripts/communityScripts/chat/FloofChat.html index 340b9305eaa..4f0ee64deb9 100644 --- a/scripts/communityScripts/chat/FloofChat.html +++ b/scripts/communityScripts/chat/FloofChat.html @@ -103,7 +103,6 @@ } for (var i = 0; i < messageParts.length; i++) { - //messageFormatted.push(replaceFormatting(messageParts[i])); messageFormatted.push(messageParts[i]) } From d7226b76a4a84da55d167256b474fe9be0cd1f6f Mon Sep 17 00:00:00 2001 From: OfficialR3ido101 Date: Tue, 12 Dec 2023 16:54:22 +0000 Subject: [PATCH 3/3] Removed commented out code since we do not need it --- scripts/communityScripts/chat/FloofChat.html | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scripts/communityScripts/chat/FloofChat.html b/scripts/communityScripts/chat/FloofChat.html index 4f0ee64deb9..48be283f936 100644 --- a/scripts/communityScripts/chat/FloofChat.html +++ b/scripts/communityScripts/chat/FloofChat.html @@ -103,7 +103,7 @@ } for (var i = 0; i < messageParts.length; i++) { - messageFormatted.push(messageParts[i]) + messageFormatted.push(messageParts[i]); } for (var i = 0; i < messageFormatted.length; i++) {