From 2e9f9f57adf6503b1f92ccc6dea18534df4599a3 Mon Sep 17 00:00:00 2001 From: owocado <24418520+owocado@users.noreply.github.com> Date: Fri, 4 Oct 2024 21:11:46 +0530 Subject: [PATCH 1/2] fix interaction callback documentation --- docs/interactions/Receiving_and_Responding.mdx | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/docs/interactions/Receiving_and_Responding.mdx b/docs/interactions/Receiving_and_Responding.mdx index 31e5290453..181ac666de 100644 --- a/docs/interactions/Receiving_and_Responding.mdx +++ b/docs/interactions/Receiving_and_Responding.mdx @@ -320,16 +320,16 @@ r = requests.post(url, json=json) ###### Interaction Callback Response Object -| Field | Type | Description | -|-------------|--------------------------------------------------------------------------------------------------------------------------------------|------------------------------------------------------------| -| interaction | [interaction callback object](#DOCS_INTERACTIONS_RECEIVING_AND_RESPONDING/interaction-callback-interaction-callback-object) | The interaction object associated with the | -| resource? | [interaction resource object](#DOCS_INTERACTIONS_RECEIVING_AND_RESPONDING/interaction-callback-interaction-callback-resource-object) | The resource that was created by the interaction response. | +| Field | Type | Description | +|-------------|--------------------------------------------------------------------------------------------------------------------------------------|--------------------------------------------------------------------| +| interaction | [interaction callback object](#DOCS_INTERACTIONS_RECEIVING_AND_RESPONDING/interaction-callback-interaction-callback-object) | The interaction object associated with the interaction response. | +| resource? | [interaction resource object](#DOCS_INTERACTIONS_RECEIVING_AND_RESPONDING/interaction-callback-interaction-callback-resource-object) | The resource that was created by the interaction response. | ###### Interaction Callback Object | Field | Type | Description | |-----------------------------|-----------|-----------------------------------------------------------------------------------------------------| -| id | snowflake | | +| id | snowflake | ID of the interaction | | type | integer | [Interaction type](#DOCS_INTERACTIONS_RECEIVING_AND_RESPONDING/interaction-object-interaction-type) | | activity_instance_id? | string | Instance ID of the Activity if one was launched or joined | | response_message_id? | snowflake | ID of the message that was created by the interaction | From 9804fac453c3e9145152b64e1877491786e74499 Mon Sep 17 00:00:00 2001 From: owocado <24418520+owocado@users.noreply.github.com> Date: Thu, 17 Oct 2024 23:17:55 +0530 Subject: [PATCH 2/2] fix CI --- docs/interactions/Receiving_and_Responding.mdx | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/docs/interactions/Receiving_and_Responding.mdx b/docs/interactions/Receiving_and_Responding.mdx index 181ac666de..50dec5a423 100644 --- a/docs/interactions/Receiving_and_Responding.mdx +++ b/docs/interactions/Receiving_and_Responding.mdx @@ -320,10 +320,10 @@ r = requests.post(url, json=json) ###### Interaction Callback Response Object -| Field | Type | Description | -|-------------|--------------------------------------------------------------------------------------------------------------------------------------|--------------------------------------------------------------------| -| interaction | [interaction callback object](#DOCS_INTERACTIONS_RECEIVING_AND_RESPONDING/interaction-callback-interaction-callback-object) | The interaction object associated with the interaction response. | -| resource? | [interaction resource object](#DOCS_INTERACTIONS_RECEIVING_AND_RESPONDING/interaction-callback-interaction-callback-resource-object) | The resource that was created by the interaction response. | +| Field | Type | Description | +|-------------|--------------------------------------------------------------------------------------------------------------------------------------|------------------------------------------------------------------| +| interaction | [interaction callback object](#DOCS_INTERACTIONS_RECEIVING_AND_RESPONDING/interaction-callback-interaction-callback-object) | The interaction object associated with the interaction response. | +| resource? | [interaction resource object](#DOCS_INTERACTIONS_RECEIVING_AND_RESPONDING/interaction-callback-interaction-callback-resource-object) | The resource that was created by the interaction response. | ###### Interaction Callback Object