Skip to content

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

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

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

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