Table of Contents

Struct MemberSearchFilter

Namespace
Discord
Assembly
Discord.Net.Core.dll

Represents the query parameters for searching members in a guild.

public struct MemberSearchFilter
Inherited Members

Properties

DidRejoin

Gets or sets whether the member left and rejoined the guild.

public bool? DidRejoin { readonly get; set; }

Property Value

bool?

GuildJoinedAt

Gets or sets the range to search for the user's guild joined at timestamp.

public MemberSearchIntQuery? GuildJoinedAt { readonly get; set; }

Property Value

MemberSearchIntQuery?

Remarks

Only Range is supported.

IsPending

Gets or sets whether the member has not yet passed the guild's member verification requirements.

public bool? IsPending { readonly get; set; }

Property Value

bool?

JoinSourceType

Gets or sets the join source type to search for.

public MemberSearchIntQuery? JoinSourceType { readonly get; set; }

Property Value

MemberSearchIntQuery?

Remarks

Only OrQuery is supported.

RoleIds

Gets or sets the role IDs to search for.

public MemberSearchSnowflakeQuery? RoleIds { readonly get; set; }

Property Value

MemberSearchSnowflakeQuery?

Remarks

Only OrQuery and AndQuery are supported.

SafetySignals

Gets or sets the safety signal search properties.

public MemberSearchV2SafetySignalsProperties? SafetySignals { readonly get; set; }

Property Value

MemberSearchV2SafetySignalsProperties?

SourceInviteCode

Gets or sets the source invite code to search for.

public MemberSearchStringQuery? SourceInviteCode { readonly get; set; }

Property Value

MemberSearchStringQuery?

Remarks

Only OrQuery is supported.

UserId

Gets or sets the range to search for the user ID.

public MemberSearchSnowflakeQuery? UserId { readonly get; set; }

Property Value

MemberSearchSnowflakeQuery?

Remarks

Only OrQuery and Range are supported.

Usernames

Gets or sets the usernames to match against.

public MemberSearchStringQuery? Usernames { readonly get; set; }

Property Value

MemberSearchStringQuery?

Remarks

Only OrQuery is supported.