Nostrum.Api.get_user

You're seeing just the function get_user, go back to Nostrum.Api module for more information.

Specs

get_user(Nostrum.Struct.User.id()) :: error() | {:ok, Nostrum.Struct.User.t()}

Gets a user by its Nostrum.Struct.User.id/0.

If the request is successful, this function returns {:ok, user}, where user is a Nostrum.Struct.User. Otherwise, returns {:error, reason}.