Table of Contents

Interface IAutoModerationRuleDeleteShardedGatewayHandler

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

Sent when a rule is deleted. The inner payload is an AutoModerationRule object.

public interface IAutoModerationRuleDeleteShardedGatewayHandler : IShardedGatewayHandler

Remarks


Required Intents: AutoModerationConfiguration
Optional Intents: None

Methods

HandleAsync(GatewayClient, AutoModerationRule)

Handles the gateway event.

ValueTask HandleAsync(GatewayClient client, AutoModerationRule arg)

Parameters

client GatewayClient

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

arg AutoModerationRule

The event argument.

Returns

ValueTask