Table of Contents

Class ApplicationCommandGuildPermissions

Namespace
NetCord.Rest
Assembly
NetCord.dll
public class ApplicationCommandGuildPermissions : IJsonModel<JsonApplicationCommandGuildPermissions>
Inheritance
ApplicationCommandGuildPermissions
Implements
Inherited Members

Constructors

ApplicationCommandGuildPermissions(JsonApplicationCommandGuildPermissions)

public ApplicationCommandGuildPermissions(JsonApplicationCommandGuildPermissions jsonModel)

Parameters

jsonModel JsonApplicationCommandGuildPermissions

Properties

ApplicationId

ID of the application the command belongs to.

public ulong ApplicationId { get; }

Property Value

ulong

CommandId

ID of the command.

public ulong CommandId { get; }

Property Value

ulong

GuildId

ID of the guild.

public ulong GuildId { get; }

Property Value

ulong

Permissions

Permissions for the command in the guild (max 100).

public IReadOnlyDictionary<ulong, ApplicationCommandPermission> Permissions { get; }

Property Value

IReadOnlyDictionary<ulong, ApplicationCommandPermission>