From a387c5b9c589baf0e3933afd4a45f8aa02d90cec Mon Sep 17 00:00:00 2001 From: advaith Date: Thu, 16 Apr 2026 16:37:54 -0700 Subject: [PATCH 1/2] Document app role connection platform_username --- developers/resources/user.mdx | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) diff --git a/developers/resources/user.mdx b/developers/resources/user.mdx index 3e8ad9aef4..284edb7b29 100644 --- a/developers/resources/user.mdx +++ b/developers/resources/user.mdx @@ -240,10 +240,11 @@ The role connection object that an application has attached to a user. ###### Application Role Connection Structure -| Field | Type | Description | -|---------------|---------|------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------| -| platform_name | ?string | the vanity name of the platform a bot has connected (max 50 characters) | -| metadata | object | object mapping [application role connection metadata](/developers/resources/application-role-connection-metadata#application-role-connection-metadata-object) keys to their `string`-ified value (max 100 characters) for the user on the platform a bot has connected | +| Field | Type | Description | +|-------------------|---------|------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------| +| platform_name | ?string | the vanity name of the platform a bot has connected (max 50 characters) | +| platform_username | ?string | the username on the platform a bot has connected (max 100 characters) | +| metadata | object | object mapping [application role connection metadata](/developers/resources/application-role-connection-metadata#application-role-connection-metadata-object) keys to their `string`-ified value (max 100 characters) for the user on the platform a bot has connected | ## Get Current User /users/@me From 6c71f5672d141d8434586bafcdef53c2138f7581 Mon Sep 17 00:00:00 2001 From: advaith Date: Fri, 17 Apr 2026 13:04:32 -0700 Subject: [PATCH 2/2] mark fields as optional --- developers/resources/user.mdx | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/developers/resources/user.mdx b/developers/resources/user.mdx index 284edb7b29..1a5deb1bcd 100644 --- a/developers/resources/user.mdx +++ b/developers/resources/user.mdx @@ -240,11 +240,11 @@ The role connection object that an application has attached to a user. ###### Application Role Connection Structure -| Field | Type | Description | -|-------------------|---------|------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------| -| platform_name | ?string | the vanity name of the platform a bot has connected (max 50 characters) | -| platform_username | ?string | the username on the platform a bot has connected (max 100 characters) | -| metadata | object | object mapping [application role connection metadata](/developers/resources/application-role-connection-metadata#application-role-connection-metadata-object) keys to their `string`-ified value (max 100 characters) for the user on the platform a bot has connected | +| Field | Type | Description | +|--------------------|---------|------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------| +| platform_name? | ?string | the vanity name of the platform a bot has connected (max 50 characters) | +| platform_username? | ?string | the username on the platform a bot has connected (max 100 characters) | +| metadata? | object | object mapping [application role connection metadata](/developers/resources/application-role-connection-metadata#application-role-connection-metadata-object) keys to their `string`-ified value (max 100 characters) for the user on the platform a bot has connected | ## Get Current User /users/@me