Table of Contents

Class SocketMemberUpdateAuditLogData

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

Contains a piece of audit log data related to a change in a guild member.

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

Properties

After

Gets the member information after the changes.

public MemberInfo After { get; }

Property Value

MemberInfo

An information object containing the member information after the changes were made.

Before

Gets the member information before the changes.

public MemberInfo Before { get; }

Property Value

MemberInfo

An information object containing the original member information before the changes were made.

Target

Gets the user that the changes were performed on.

public Cacheable<SocketUser, RestUser, IUser, ulong> Target { get; }

Property Value

Cacheable<SocketUser, RestUser, IUser, ulong>

A user object representing the user who the changes were performed on.

Remarks

Will be null if the user is a 'Deleted User#....' because Discord does send user data for deleted users.