Table of Contents

Class CommandPermissionUpdateAuditLogData

Namespace
Discord.Rest
Assembly
Discord.Net.Rest.dll

Contains a piece of audit log data related to an application command permission update.

public class CommandPermissionUpdateAuditLogData : IAuditLogData
Inheritance
CommandPermissionUpdateAuditLogData
Implements
Inherited Members

Properties

After

Gets values of the permissions after the change if available.

public IReadOnlyCollection<ApplicationCommandPermission> After { get; }

Property Value

IReadOnlyCollection<ApplicationCommandPermission>

ApplicationCommand

Gets the application command which permissions were updated.

public IApplicationCommand ApplicationCommand { get; }

Property Value

IApplicationCommand

ApplicationId

Gets the ID of the app whose permissions were targeted.

public ulong ApplicationId { get; set; }

Property Value

ulong

Before

Gets values of the permissions before the change if available.

public IReadOnlyCollection<ApplicationCommandPermission> Before { get; }

Property Value

IReadOnlyCollection<ApplicationCommandPermission>