Table of Contents

Interface IApplicationCommandPermissionsUpdateShardedGatewayHandler

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

Sent when an application command's permissions are updated. The inner payload is an ApplicationCommandPermission object.

public interface IApplicationCommandPermissionsUpdateShardedGatewayHandler : IShardedGatewayHandler

Remarks

Required Intents: None
Optional Intents: None

Methods

HandleAsync(GatewayClient, ApplicationCommandPermission)

Handles the gateway event.

ValueTask HandleAsync(GatewayClient client, ApplicationCommandPermission arg)

Parameters

client GatewayClient

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

arg ApplicationCommandPermission

The event argument.

Returns

ValueTask