Table of Contents

Class SocketKickAuditLogData

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

Contains a piece of audit log data related to a kick.

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

Properties

IntegrationType

Gets the type of integration which performed the action. null if the action was performed by a user.

public string IntegrationType { get; }

Property Value

string

Target

Gets the user that was kicked.

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

Property Value

Cacheable<SocketUser, RestUser, IUser, ulong>

A cacheable user object representing the kicked user.

Remarks

Download method may return null if the user is a 'Deleted User#....' because Discord does send user data for deleted users.