🎭Users & Members

chevron-rightUserhashtag

string Id

DateTime CreatedAt

string Username

UserStatus Status

Attachment? Avatar

string GetDefaultAvatarUrl( )

string GetAvatarUrl( )

string GetAvatarOrDefaultUrl( )

UserBadges Badges

UserFlags Flags

BotData? BotData

bool IsOnline

bool Privileged

UserRelationship Relationship

bool IsBot

bool IsBlocked

IReadOnlyCollection<Server> MutualServers

IReadOnlyCollection<GroupChannel> MutualGroups

bool HasBadge(UserBadgeTypes)

chevron-rightSelfUserhashtag

Contains all properties from User

string OwnerId

User? Owner

string ProfileBio

Attachment? Background

chevron-rightProfilehashtag

string? Bio

Attachment? Background

chevron-rightServerMemberhashtag

Contains all properties from User

string Id

string MemberId

DateTime JoinedAt

string ServerId

Server Server

string Nickname

string CurrentName

User User

Attachment? ServerAvatar

string GetDefaultAvatarUrl( )

string GetServerAvatarUrl( )

string GetServerAvatarOrDefaultUrl( )

string GetServerAvatarOrUserAvatarOrDefaultUrl( )

string[ ] RolesIds

DateTime JoinedAt

DateTime? Timeout

bool IsTimedOut

Role? GetRole( string roleId )

IReadOnlyCollection<Role> Roles

ServerPermissions Permissions

chevron-rightUserStatushashtag

string Text

UserStatusType Type

public enum UserStatusType
{
    Offline,
    Online,
    Idle,
    Focus,
    Busy,
    Invisible
}
chevron-rightUserBadgeshashtag

ulong Raw

bool Has( UserBadgeTypes type )

public enum UserBadgeTypes
{
    Developer = 1,
    Translator = 2,
    Supporter = 4,
    ResponsibleDisclosure = 8,
    Founder = 16,
    PlatformModeration = 32,
    ActiveSupporter = 64,
    Paw = 128,
    EarlyAdopter = 256,
    ReservedRelevantJokeBadge1 = 512,
    ReservedRelevantJokeBadge2 = 1024
}
chevron-rightUserFlagshashtag

ulong Raw

bool Has( UserFlagTypes type )

chevron-rightBotDatahashtag

string OwnerId

chevron-rightPublicBothashtag

string Username

string? AvatarId

string? Description

string? GetAvatarUrl( AvatarSources which, int size )

chevron-rightAvatarSourceshashtag
chevron-rightUserRelationshiphashtag

The relationship of the user compared to the logged in user/bot account.

Last updated