From 641788dd6eb035b5603d4364e91db91bfb374a18 Mon Sep 17 00:00:00 2001 From: DeSqBlocki Date: Sat, 21 Dec 2024 17:59:56 +0100 Subject: [PATCH] Added Sanitization to InfoChannel --- commands/channels/channels.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/commands/channels/channels.js b/commands/channels/channels.js index 0733249..42a64fc 100644 --- a/commands/channels/channels.js +++ b/commands/channels/channels.js @@ -170,7 +170,7 @@ async function InfoChannel(interaction) { tags: streamData.data[0].tags } const embed = new EmbedBuilder() - .setTitle(`${liveData.streamer} is live!`) + .setTitle(`${escapeMarkdown(liveData.streamer)} is live!`) .setDescription(`They're playing ${liveData.game}`) .addFields( { name: '\u200B', value: `${liveData.title}` })