From 819ddeff0ba0a41b48500718329d4952bb657856 Mon Sep 17 00:00:00 2001 From: OfficialR3ido101 Date: Tue, 12 Dec 2023 16:35:22 +0000 Subject: [PATCH] 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 b2576ceba6..340b9305ea 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 84b18860b4..28abeed7b9 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} })); }