Class BanAuditLogData
Contains a piece of audit log data related to a ban.
Inheritance
System.Object
BanAuditLogData
Implements
Inherited Members
System.Object.ToString()
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
Namespace: Discord.Rest
Assembly: Discord.Net.Rest.dll
Syntax
public class BanAuditLogData : IAuditLogData
Properties
| Improve this Doc View SourceTarget
Gets the user that was banned.
Declaration
public IUser Target { get; }
Property Value
| Type | Description |
|---|---|
| IUser | A user object representing the banned user. |