From 73d5de2362a78eff3c7a7f709a76595a9c6a1a75 Mon Sep 17 00:00:00 2001 From: Lucid Kobold <72232219+LucidKobold@users.noreply.github.com> Date: Fri, 4 Jul 2025 19:20:36 -0400 Subject: [PATCH] escaped characters that were producing errors. --- src/bot/features/embedCheck.ts | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/bot/features/embedCheck.ts b/src/bot/features/embedCheck.ts index 5255943..f9a0ea8 100644 --- a/src/bot/features/embedCheck.ts +++ b/src/bot/features/embedCheck.ts @@ -50,7 +50,7 @@ feature.on("message::url", logHandle("embed-check"), async (ctx: Context) => { ctx.msg.delete(); // Replies to the user informing them of the action. return await ctx.reply( - `@${username} Twitter and X links along with reformatting services for Twitter posts are not allowed here\\. Also Facebook and meta links along with with links to meta\\-owned services are not allowed here\\. Please consider sharing the media directly or from other social media sources or websites\\. No administration action was taken against you other than the message being deleted\\.\n\nIf this was forwarded from a channel consider forwarding without the caption so the media isn't deleted.`, + `@${username} Twitter and X links along with reformatting services for Twitter posts are not allowed here\\. Also Facebook and meta links along with with links to meta\\-owned services are not allowed here\\. Please consider sharing the media directly or from other social media sources or websites\\. No administration action was taken against you other than the message being deleted\\.\n\nIf this was forwarded from a channel consider forwarding without the caption so the media isn't deleted\\.`, { parse_mode: "MarkdownV2" } ); } @@ -61,7 +61,7 @@ feature.on("message::url", logHandle("embed-check"), async (ctx: Context) => { ctx.msg.delete(); // Replies to the user informing them of the action. return await ctx.reply( - `@${username} Facebook and meta links along with with links to meta\\-owned services are not allowed here\\. Please consider sharing the media directly or from other social media sources or websites\\. No administration action was taken against you other than the message being deleted\\\n\nIf this was forwarded from a channel consider forwarding without the caption so the media isn't deleted..`, + `@${username} Facebook and meta links along with with links to meta\\-owned services are not allowed here\\. Please consider sharing the media directly or from other social media sources or websites\\. No administration action was taken against you other than the message being deleted\\\n\nIf this was forwarded from a channel consider forwarding without the caption so the media isn't deleted\\.`, { parse_mode: "MarkdownV2" } ); } @@ -72,7 +72,7 @@ feature.on("message::url", logHandle("embed-check"), async (ctx: Context) => { ctx.msg.delete(); // Replies to the user informing them of the action. return await ctx.reply( - `@${username} Twitter and X links along with reformatting services for Twitter posts are not allowed here\\. Please consider sharing the media directly or from other social media sources or websites\\. No administration action was taken against you other than the message being deleted\\.\n\nIf this was forwarded from a channel consider forwarding without the caption so the media isn't deleted.`, + `@${username} Twitter and X links along with reformatting services for Twitter posts are not allowed here\\. Please consider sharing the media directly or from other social media sources or websites\\. No administration action was taken against you other than the message being deleted\\.\n\nIf this was forwarded from a channel consider forwarding without the caption so the media isn't deleted\\.`, { parse_mode: "MarkdownV2" } ); } -- 2.49.1