Users & Members
User
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)
Profile
string? Bio
Attachment? Background
ServerMember
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
UserStatus
string Text
UserStatusType Type
public enum UserStatusType
{
Offline,
Online,
Idle,
Focus,
Busy,
Invisible
}
UserBadges
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
}
UserFlags
ulong Raw
bool Has( UserFlagTypes type )
public enum UserFlagTypes
{
Suspended = 1,
Deleted = 2,
Banned = 4,
Spam = 8
}
PublicBot
string Username
string? AvatarId
string? Description
string? GetAvatarUrl( AvatarSources which, int size )
Last updated