Table of Contents

Constructor DiscordGuildApplicationCommandPermissions

Namespace
DSharpPlus.Entities
Assembly
DSharpPlus.dll

DiscordGuildApplicationCommandPermissions(ulong, IEnumerable<DiscordApplicationCommandPermission>)

Represents the guild application command permissions for a application command.

public DiscordGuildApplicationCommandPermissions(ulong commandId, IEnumerable<DiscordApplicationCommandPermission> permissions)

Parameters

commandId ulong

The id of the command.

permissions IEnumerable<DiscordApplicationCommandPermission>

The permissions for the application command.