Table of Contents

Class GuildApplicationCommandPermission

Namespace
Discord
Assembly
Discord.Net.Core.dll

Returned when fetching the permissions for a command in a guild.

public class GuildApplicationCommandPermission
Inheritance
GuildApplicationCommandPermission
Inherited Members

Properties

ApplicationId

The id of the application the command belongs to.

public ulong ApplicationId { get; }

Property Value

ulong

CommandId

The id of the command.

public ulong CommandId { get; }

Property Value

ulong

GuildId

The id of the guild.

public ulong GuildId { get; }

Property Value

ulong

Permissions

The permissions for the command in the guild.

public IReadOnlyCollection<ApplicationCommandPermission> Permissions { get; }

Property Value

IReadOnlyCollection<ApplicationCommandPermission>