Table of Contents

Interface IGuildUserRemoveShardedGatewayHandler

Namespace
NetCord.Hosting.Gateway
Assembly
NetCord.Hosting.dll

Sent when a user is removed from a guild (leave/kick/ban).

public interface IGuildUserRemoveShardedGatewayHandler : IShardedGatewayHandler

Remarks


Required Intents: GuildUsers*
Optional Intents: None

*Must also be enabled in the developer portal.

Methods

HandleAsync(GatewayClient, GuildUserRemoveEventArgs)

Handles the gateway event.

ValueTask HandleAsync(GatewayClient client, GuildUserRemoveEventArgs arg)

Parameters

client GatewayClient

The gateway client that represents the shard that received the event.

arg GuildUserRemoveEventArgs

The event argument.

Returns

ValueTask