Skip to content

Example user under User Object is invalid #7751

@lipfangmoe

Description

@lipfangmoe

Description

The given example user under "Users" is invalid. Specifically, the API docs state that global_name is not omittable, however it is omitted from the shown example.

Steps to Reproduce

User Structure where global_name is shown to be required: https://discord.com/developers/docs/resources/user#user-object-user-structure

example directly below where global_name is omitted: https://discord.com/developers/docs/resources/user#user-object-example-user

Expected Behavior

global_name should be provided (even if null) in the example object.

Current Behavior

global_name is omitted.

Screenshots/Videos

No response

Client and System Information

N/A

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions