Table of Contents

Interface IGuildBanAddShardedGatewayHandler

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

Sent when a user is banned from a guild.

public interface IGuildBanAddShardedGatewayHandler : IShardedGatewayHandler

Remarks


Required Intents: GuildModeration
Optional Intents: None

Methods

HandleAsync(GatewayClient, GuildBanEventArgs)

Handles the gateway event.

ValueTask HandleAsync(GatewayClient client, GuildBanEventArgs arg)

Parameters

client GatewayClient

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

arg GuildBanEventArgs

The event argument.

Returns

ValueTask