From 404a801c61a4fccdbdda2c690e61a8eb2b9f9e1b Mon Sep 17 00:00:00 2001 From: Aidan Date: Fri, 2 May 2025 20:16:36 -0400 Subject: [PATCH] fix: fix params --- src/commands/animal.ts | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/commands/animal.ts b/src/commands/animal.ts index 2b8352e..63cbb7b 100644 --- a/src/commands/animal.ts +++ b/src/commands/animal.ts @@ -105,9 +105,9 @@ export default (bot: Telegraf) => { case (userInput === "3" || userInput === "sticker"): ctx.replyWithSticker( - Resources.soggyCatSticker, { - // ...({ reply_to_message_id }) // to-do: fix this - }); + Resources.soggyCatSticker, + reply_to_message_id ? { reply_parameters: { message_id: reply_to_message_id } } : undefined + ); break; case (userInput === "4" || userInput === "alt"):