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)

ValueTask HandleAsync(GatewayClient client, GuildUserRemoveEventArgs arg)

Parameters

client GatewayClient
arg GuildUserRemoveEventArgs

Returns

ValueTask