Skip to content

Commit

Permalink
debug: debuging message response
Browse files Browse the repository at this point in the history
  • Loading branch information
Behzad-rabiei committed Nov 7, 2024
1 parent bbad793 commit b380c5c
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions bot/src/rabbitmq/events/interactionResponseEdit.ts
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,7 @@ export async function handleInteractionResponseEdit(msg: any): Promise<void> {
// logger.info({ msg, event: Event.DISCORD_BOT.INTERACTION_RESPONSE.EDIT }, 'is running');
const interaction = msg?.content.interaction
const data = msg?.content.data
console.log(msg.content, msg?.content.data, msg?.content.interaction)
await interactionService.editOriginalInteractionResponse(interaction, data)
// logger.info({ msg, event: Event.DISCORD_BOT.INTERACTION_RESPONSE.EDIT }, 'is done');
} catch (error) {
Expand Down

0 comments on commit b380c5c

Please sign in to comment.