Skip to content

user.displayName does not account for the global display name #2

@Mireole

Description

@Mireole

The displayName user object returned by util.fetchUsers is wrong when the user has not set a custom nickname in the server.
If the user has set a server-specific nickname, displayName will correcly reflect it, but if this is not the case, it will return the user's username instead of his display name.

image

displayName should be Mireole but is mireole instead

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions