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>

RulesChannel

public Channel? RulesChannel { get; }

Property Value

Channel

Stickers

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

Property Value

ConcurrentDictionary<ulong, GuildSticker>

SystemChannel

public Channel? SystemChannel { get; }

Property Value

Channel

Methods

DownloadMembersAsync()

public Task<bool> DownloadMembersAsync()

Returns

Task<bool>

GetCategoryChannel(ulong)

public CategoryChannel? GetCategoryChannel(ulong channelId)

Parameters

channelId ulong

Returns

CategoryChannel

GetChannel(ulong)

public Channel? GetChannel(ulong channelId)

Parameters

channelId ulong

Returns

Channel

GetEmoji(ulong)

public GuildEmoji? GetEmoji(ulong emojiId)

Parameters

emojiId ulong

Returns

GuildEmoji

GetForumChannel(ulong)

public ForumChannel? GetForumChannel(ulong channelId)

Parameters

channelId ulong

Returns

ForumChannel

GetLinkChannel(ulong)

public LinkChannel? GetLinkChannel(ulong channelId)

Parameters

channelId ulong

Returns

LinkChannel

GetMediaChannel(ulong)

public MediaChannel? GetMediaChannel(ulong channelId)

Parameters

channelId ulong

Returns

MediaChannel

GetMemberAsync(ulong)

public Task<SocketGuildMember?> GetMemberAsync(ulong userId)

Parameters

userId ulong

Returns

Task<SocketGuildMember>

GetNewsChannel(ulong)

public NewsChannel? GetNewsChannel(ulong channelId)

Parameters

channelId ulong

Returns

NewsChannel

GetOwnerAsync()

public Task<SocketGuildMember?> GetOwnerAsync()

Returns

Task<SocketGuildMember>

GetRole(ulong)

public SocketRole? GetRole(ulong roleId)

Parameters

roleId ulong

Returns

SocketRole

GetSticker(ulong)

public GuildSticker? GetSticker(ulong stickerId)

Parameters

stickerId ulong

Returns

GuildSticker

GetTextChannel(ulong)

public TextChannel? GetTextChannel(ulong channelId)

Parameters

channelId ulong

Returns

TextChannel

GetVoiceChannel(ulong)

public VoiceChannel? GetVoiceChannel(ulong channelId)

Parameters

channelId ulong

Returns

VoiceChannel