Skip to content

Inherits
User

Class GuildUser

Represents a User in a Guild

Properties


Roles

Gets the roles the user has in this guild.
Declaration

public Role[] Roles {get; }

Property Value

Type Description
Role[] An array of Roles

JoinedAt

Gets the date when the user joined this guild.
Declaration

public DateTime JoinedAt {get; }

Property Value

Type Description
DateTime The join date in UTC.

Guild

Gets the guild where this user belongs to.
Declaration

public Guild Guild {get; }

Property Value

Type Description
Guild The guild where this user is.

Nick

Gets the user's nickname.
Declaration

public string Nick {get; }

Property Value

Type Description
String The user's nickname if set, otherwise null.

DisplayName

Gets the user's display name
Declaration

public string DisplayName {get; }

Remarks
The display name consist of the user's Nick (if set) or the user's Name.
Property Value

Type Description
String The user's display name.