Interface IGuildMember
public interface IGuildMember : ISnowflake, IMentionable
- Inherited Members
Properties
AccentColor
The accent colour of the member guild profile as an integer.
int? AccentColor { get; }
Property Value
- int?
AvatarHash
The hash of the member guild-specific avatar.
string? AvatarHash { get; }
Property Value
BannerHash
The hash of the member guild-specific banner.
string? BannerHash { get; }
Property Value
CommunicationDisabledUntil
ISO8601 timestamp until which the member is timed out.
DateTimeOffset? CommunicationDisabledUntil { get; }
Property Value
GuildId
Guild id that the user is in.
ulong GuildId { get; }
Property Value
IsDeaf
Whether the member is deafened in voice channels.
bool IsDeaf { get; }
Property Value
IsMute
Whether the member is muted in voice channels.
bool IsMute { get; }
Property Value
JoinedAt
ISO8601 timestamp of when the user joined the guild.
DateTimeOffset JoinedAt { get; }
Property Value
Nickname
The nickname of the member in this guild.
string? Nickname { get; }
Property Value
RoleIds
Array of role IDs the member has.
HashSet<ulong> RoleIds { get; }
Property Value
User
User data for the member.
IUser User { get; }
Property Value
Methods
GetAvatarOrDefaultUrl(int)
Get the members's avatar or fallback to default.
string GetAvatarOrDefaultUrl(int size)
Parameters
sizeint
Returns
GetAvatarUrl(int)
Get the members's avatar.
string? GetAvatarUrl(int size)
Parameters
sizeint
Returns
GetBannerUrl(int)
Get the member's banner.
string? GetBannerUrl(int size)
Parameters
sizeint
Returns
GetCurrentName()
Get the members's current nickname, display name or username.
string GetCurrentName()
Returns
GetDefaultAvatarUrl()
Get the default avatar for the user.
string GetDefaultAvatarUrl()