Class SocketGuild
- Namespace
- Fluxer.Net
- Assembly
- Fluxer.Net.dll
Cached guild from the gateway.
public class SocketGuild : Guild, IGuild, IPartialGuild, ISnowflake
- Inheritance
-
objectSocketGuild
- Implements
- Inherited Members
- Extension Methods
Properties
Channels
public ConcurrentDictionary<ulong, Channel> Channels { get; }
Property Value
CurrentMember
Cached current logged in member for the guild.
public SocketGuildMember CurrentMember { get; }
Property Value
Emojis
public ConcurrentDictionary<ulong, GuildEmoji> Emojis { get; }
Property Value
EveryoneRole
public SocketRole EveryoneRole { get; }
Property Value
HasAllMembers
public bool HasAllMembers { get; }
Property Value
IsAvailable
public bool IsAvailable { get; }
Property Value
Members
public ConcurrentDictionary<ulong, SocketGuildMember> Members { get; }
Property Value
Permissions
Permissions for the guild.
public GuildPermissions Permissions { get; }
Property Value
Roles
public ConcurrentDictionary<ulong, SocketRole> Roles { get; }
Property Value
RulesChannel
public Channel? RulesChannel { get; }
Property Value
Stickers
public ConcurrentDictionary<ulong, GuildSticker> Stickers { get; }
Property Value
SystemChannel
public Channel? SystemChannel { get; }
Property Value
Methods
DownloadMembersAsync()
public Task<bool> DownloadMembersAsync()
Returns
GetCategoryChannel(ulong)
public CategoryChannel? GetCategoryChannel(ulong channelId)
Parameters
channelIdulong
Returns
GetChannel(ulong)
public Channel? GetChannel(ulong channelId)
Parameters
channelIdulong
Returns
GetEmoji(ulong)
public GuildEmoji? GetEmoji(ulong emojiId)
Parameters
emojiIdulong
Returns
GetForumChannel(ulong)
public ForumChannel? GetForumChannel(ulong channelId)
Parameters
channelIdulong
Returns
GetLinkChannel(ulong)
public LinkChannel? GetLinkChannel(ulong channelId)
Parameters
channelIdulong
Returns
GetMediaChannel(ulong)
public MediaChannel? GetMediaChannel(ulong channelId)
Parameters
channelIdulong
Returns
GetMemberAsync(ulong)
public Task<SocketGuildMember?> GetMemberAsync(ulong userId)
Parameters
userIdulong
Returns
GetNewsChannel(ulong)
public NewsChannel? GetNewsChannel(ulong channelId)
Parameters
channelIdulong
Returns
GetOwnerAsync()
public Task<SocketGuildMember?> GetOwnerAsync()
Returns
GetRole(ulong)
public SocketRole? GetRole(ulong roleId)
Parameters
roleIdulong
Returns
GetSticker(ulong)
public GuildSticker? GetSticker(ulong stickerId)
Parameters
stickerIdulong
Returns
GetTextChannel(ulong)
public TextChannel? GetTextChannel(ulong channelId)
Parameters
channelIdulong
Returns
GetVoiceChannel(ulong)
public VoiceChannel? GetVoiceChannel(ulong channelId)
Parameters
channelIdulong