From 723d2bb8e7e8cc2a95df4593dc00292a567e7502 Mon Sep 17 00:00:00 2001 From: Asbed B Date: Tue, 21 Apr 2026 08:36:47 +1000 Subject: [PATCH] remove embed suppression due to proxy issues --- src/features/x-cancel-generator.ts | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/src/features/x-cancel-generator.ts b/src/features/x-cancel-generator.ts index dc917479..9a27636f 100644 --- a/src/features/x-cancel-generator.ts +++ b/src/features/x-cancel-generator.ts @@ -17,11 +17,13 @@ const xCancelGenerator: ChannelHandlers = { if (!match || msg.author.bot) return; // Ignore bots to prevent loops const isThreadChannel = THREAD_CHANNELS.includes(msg.channel.id); if (!isThreadChannel) { - msg.suppressEmbeds(true); + // The below line will suppress the original message embed (if ever required again in future) + // msg.suppressEmbeds(true); const [url] = match; const alternativeUrl = url.replace(/(x|twitter)\.com/i, "xcancel.com"); + // Including the < brackets > around alternativeLink is recognized markdown to suppress an embed await msg.channel.send( - `[Converted to \`xcancel.com\` for members with no \`x\` account](${alternativeUrl})`, + `[Converted to \`xcancel.com\` for members with no \`x\` account](<${alternativeUrl}>)`, ); } },