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 ApplicationCommandGuildPermissions object.

public interface IApplicationCommandPermissionsUpdateShardedGatewayHandler : IShardedGatewayHandler

Remarks

Required Intents: None
Optional Intents: None

Methods

HandleAsync(GatewayClient, ApplicationCommandGuildPermissions)

Handles the gateway event.

ValueTask HandleAsync(GatewayClient client, ApplicationCommandGuildPermissions arg)

Parameters

client GatewayClient

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

arg ApplicationCommandGuildPermissions

The event argument.

Returns

ValueTask