Skip to content

Commit

Permalink
fix(Transformers): pass client to recursive call (#10474)
Browse files Browse the repository at this point in the history
  • Loading branch information
SpaceEEC authored Sep 2, 2024
1 parent 18ce10a commit 4810f7c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/discord.js/src/util/Transformers.js
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,7 @@ function _transformAPIMessageInteractionMetadata(client, messageInteractionMetad
originalResponseMessageId: messageInteractionMetadata.original_response_message_id ?? null,
interactedMessageId: messageInteractionMetadata.interacted_message_id ?? null,
triggeringInteractionMetadata: messageInteractionMetadata.triggering_interaction_metadata
? _transformAPIMessageInteractionMetadata(messageInteractionMetadata.triggering_interaction_metadata)
? _transformAPIMessageInteractionMetadata(client, messageInteractionMetadata.triggering_interaction_metadata)
: null,
};
}
Expand Down

0 comments on commit 4810f7c

Please sign in to comment.