Table of Contents

Class SocketCommandPermissionUpdateAuditLogData

Namespace
Discord.WebSocket
Assembly
Discord.Net.WebSocket.dll

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

public class SocketCommandPermissionUpdateAuditLogData : ISocketAuditLogData, IAuditLogData
Inheritance
SocketCommandPermissionUpdateAuditLogData
Implements
Inherited Members

Properties

After

Gets values of the permissions after the change if available.

public IReadOnlyCollection<ApplicationCommandPermission> After { get; }

Property Value

IReadOnlyCollection<ApplicationCommandPermission>

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>

CommandId

Gets the id of the application command which permissions were updated.

public ulong CommandId { get; }

Property Value

ulong