SocketGuild

Namespace: Discord.Gateway

Inherits from

pageDiscordGuild

Properties

Name

Description

Type

Large

Whether this is considered a large guild or not

bool

MemberCount

The amount of members the guild has

uint

ClientMember

The current user's member info

GuildMember

Channels

The guild's channels

IReadOnlyList<GuildChannel>

CreatedAt

A timestamp indicating when the guild was created

DateTime

VoiceStates

A list of voice states for the guild

IReadOnlyList<DiscordVoiceState>

Methods

GetMembers

Gets a list of guild members. This endpoint is bot only. If you're on a user account, check out GetGuildChannelMembers.

Returns

A list of

pageGuildMember

GetChannelMembers

Gets all guild members that have access to the specified channel (basically Discord's Member List). This endpoint is user only. If you're on a bot account, check out GetGuildMembers.

Parameters

Name

Description

Type

channelId

The channel to pull members from

ulong

options

Options for what members to receive

MemberListQueryOptions?

Returns

A list of

pageGuildMember

Last updated