From 9988bdfb570d01d4f188fa4ccbbf39b9b2da5a42 Mon Sep 17 00:00:00 2001 From: Behzad Rabiei Date: Sun, 10 Nov 2024 16:28:00 +0400 Subject: [PATCH] bot: debug handleInteractionResponseEdit --- bot/src/rabbitmq/events/interactionResponseEdit.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/bot/src/rabbitmq/events/interactionResponseEdit.ts b/bot/src/rabbitmq/events/interactionResponseEdit.ts index 4a5c742..fb141cc 100644 --- a/bot/src/rabbitmq/events/interactionResponseEdit.ts +++ b/bot/src/rabbitmq/events/interactionResponseEdit.ts @@ -13,9 +13,9 @@ export async function handleInteractionResponseEdit(msg: any): Promise { const data = msg?.content.data console.log(msg) console.log('***************') - console.log(msg?.content) + console.log(msg?.content.data) console.log('***************') - console.log(msg?.interaction) + console.log(msg?.content.interaction) await interactionService.editOriginalInteractionResponse(interaction, data) // logger.info({ msg, event: Event.DISCORD_BOT.INTERACTION_RESPONSE.EDIT }, 'is done');