Table of Contents

Class SocketPruneAuditLogData

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

Contains a piece of audit log data related to a guild prune.

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

Properties

MembersRemoved

Gets the number of members that were kicked during the purge.

public int MembersRemoved { get; }

Property Value

int

An int representing the number of members that were removed from this guild for having not been seen within .

PruneDays

Gets the threshold for a guild member to not be kicked.

public int PruneDays { get; }

Property Value

int

An int representing the amount of days that a member must have been seen in the server, to avoid being kicked. (i.e. If a user has not been seen for more than , they will be kicked from the server)