Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* start username docs * default avatar * Update docs/Reference.md Co-authored-by: Florian Spieß <business@minn.dev> * Update docs/Change_Log.md Co-authored-by: Néstor Pérez <25409753+prryplatypus@users.noreply.github.com> * fix docs * reorder * clarify migrated/legacy * small changelog clarification * Update docs/Change_Log.md Co-authored-by: Florian Spieß <business@minn.dev> * Update docs/Reference.md Co-authored-by: Florian Spieß <business@minn.dev> * oops * great --------- Co-authored-by: Florian Spieß <business@minn.dev> Co-authored-by: Néstor Pérez <25409753+prryplatypus@users.noreply.github.com>
- Loading branch information
1 parent
dd48c48
commit 6e9622b
Showing
3 changed files
with
53 additions
and
8 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -28,7 +28,8 @@ There are other rules and restrictions not shared here for the sake of spam and | |
| ------------- | --------- | ---------------------------------------------------------------------------------------------------- | --------------------- | | ||
| id | snowflake | the user's id | identify | | ||
| username | string | the user's username, not unique across the platform | identify | | ||
| discriminator | string | the user's 4-digit discord-tag | identify | | ||
| discriminator | string | the user's Discord-tag | identify | | ||
| global_name | ?string | the user's display name, if it is set. For bots, this is the application name | identify | | ||
This comment has been minimized.
Sorry, something went wrong.
This comment has been minimized.
Sorry, something went wrong.
Doc94
Contributor
|
||
| avatar | ?string | the user's [avatar hash](#DOCS_REFERENCE/image-formatting) | identify | | ||
| bot? | boolean | whether the user belongs to an OAuth2 application | identify | | ||
| system? | boolean | whether the user is an Official Discord System user (part of the urgent message system) | identify | | ||
|
@@ -254,8 +255,8 @@ Updates and returns the [application role connection](#DOCS_RESOURCES_USER/appli | |
|
||
###### JSON Params | ||
|
||
| 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](#DOCS_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](#DOCS_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 | |
when should we expect this to be put into practice?