From e18caf414d82b24aae3b97e450c490bb6abbb7aa Mon Sep 17 00:00:00 2001 From: shni Date: Tue, 7 Oct 2025 11:20:22 -0500 Subject: [PATCH] fix: corregir la referencia del mensaje en sendDisplayReply para cumplir con la nueva API --- src/commands/messages/game/_helpers.ts | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/src/commands/messages/game/_helpers.ts b/src/commands/messages/game/_helpers.ts index d0e2124..0b622d9 100644 --- a/src/commands/messages/game/_helpers.ts +++ b/src/commands/messages/game/_helpers.ts @@ -516,9 +516,8 @@ export async function promptKeySelection( export function sendDisplayReply(message: Message, display: any, extraComponents: any[] = []) { const channel = message.channel as TextBasedChannel & { send: Function }; return (channel.send as any)({ - content: null, flags: 32768, - reply: { messageReference: message.id }, + message_reference: { message_id: message.id }, components: [display, ...extraComponents], }); }