From afce162a4d80a01985b429638e9c2b901a49cbde Mon Sep 17 00:00:00 2001 From: MZRDev <87870017+MZRCode@users.noreply.github.com> Date: Sat, 26 Jul 2025 01:18:45 +0300 Subject: [PATCH] Add example with localizations to Application Role Connection Metadata object --- .../application-role-connection-metadata.mdx | 19 +++++++++++++++++++ 1 file changed, 19 insertions(+) diff --git a/docs/resources/application-role-connection-metadata.mdx b/docs/resources/application-role-connection-metadata.mdx index 9ca88f9806..6d59f26f72 100644 --- a/docs/resources/application-role-connection-metadata.mdx +++ b/docs/resources/application-role-connection-metadata.mdx @@ -21,6 +21,25 @@ When a user connects their account using the bot's [`role_connections_verificati | description | string | description of the metadata field (1-200 characters) | | description_localizations? | dictionary with keys in [available locales](/docs/reference#locales) | translations of the description | +###### Example Application Role Connection Metadata Object + +```json +{ + "type": 1, + "key": "level", + "name": "Level", + "name_localizations": { + "fr": "Niveau", + "tr": "Seviye" + }, + "description": "User level", + "description_localizations": { + "fr": "Niveau de l'utilisateur", + "tr": "Kullanıcının seviyesi" + } +} +``` + ###### Application Role Connection Metadata Type | Type | Value | Description |