diff --git a/src/bot.ts b/src/bot.ts index 97c111a..dd10f84 100644 --- a/src/bot.ts +++ b/src/bot.ts @@ -323,9 +323,7 @@ async function main() { "message_reaction", // Required for reaction spam detection ], }); - logger.info( - "Bot started successfully (with message_reaction updates enabled)", - ); + logger.info("Bot started successfully"); console.log(" CAC Admin Bot is running..."); } catch (error) { logger.error("Failed to start bot", error); diff --git a/src/handlers/reactionSpam.ts b/src/handlers/reactionSpam.ts index 8b50d59..caa333a 100644 --- a/src/handlers/reactionSpam.ts +++ b/src/handlers/reactionSpam.ts @@ -172,6 +172,7 @@ async function sendKickAnnouncement( const sent = await telegram.sendMessage(chatId, message, { parse_mode: "HTML", reply_parameters: { message_id: replyToMessageId }, + link_preview_options: { is_disabled: true }, }); // Schedule auto-delete and track for replacement