Table of Contents

Class SocketGuild

Namespace
Fluxer.Net
Assembly
Fluxer.Net.dll

Cached guild from the gateway.

public class SocketGuild : Guild, IGuild, IPartialGuild, ISnowflake
Inheritance
object
SocketGuild
Implements
Inherited Members
Extension Methods

Properties

Channels

public ConcurrentDictionary<ulong, Channel> Channels { get; }

Property Value

ConcurrentDictionary<ulong, Channel>

CurrentMember

Cached current logged in member for the guild.

public SocketGuildMember CurrentMember { get; }

Property Value

SocketGuildMember

Emojis

public ConcurrentDictionary<ulong, GuildEmoji> Emojis { get; }

Property Value

ConcurrentDictionary<ulong, GuildEmoji>

EveryoneRole

public SocketRole EveryoneRole { get; }

Property Value

SocketRole

HasAllMembers

public bool HasAllMembers { get; }

Property Value

bool

IsAvailable

public bool IsAvailable { get; }

Property Value

bool

Members

public ConcurrentDictionary<ulong, SocketGuildMember> Members { get; }

Property Value

ConcurrentDictionary<ulong, SocketGuildMember>

Permissions

Permissions for the guild.

public GuildPermissions Permissions { get; }

Property Value

GuildPermissions

Roles

public ConcurrentDictionary<ulong, SocketRole> Roles { get; }

Property Value

ConcurrentDictionary<ulong, SocketRole>

Stickers

public ConcurrentDictionary<ulong, GuildSticker> Stickers { get; }

Property Value

ConcurrentDictionary<ulong, GuildSticker>

Methods

Create(FluxerBaseClient, GuildGatewayData, SocketGuildMember)

Create a SocketGuild object from json.

public static SocketGuild Create(FluxerBaseClient client, GuildGatewayData json, SocketGuildMember currentMember)

Parameters

client FluxerBaseClient
json GuildGatewayData
currentMember SocketGuildMember

Returns

SocketGuild

GetChannel(ulong)

public Channel? GetChannel(ulong channelId)

Parameters

channelId ulong

Returns

Channel

GetMember(ulong)

public SocketGuildMember? GetMember(ulong userId)

Parameters

userId ulong

Returns

SocketGuildMember

GetRole(ulong)

public SocketRole? GetRole(ulong roleId)

Parameters

roleId ulong

Returns

SocketRole