Interface IGuildBan
public interface IGuildBan
Properties
BannedAt
When the member was banned.
DateTimeOffset BannedAt { get; }
Property Value
ExpiresAt
When the ban expires (null for never)
DateTimeOffset? ExpiresAt { get; }
Property Value
ModeratorId
Id of the user who issues the ban.
ulong ModeratorId { get; }
Property Value
Reason
Ban Reason (max 512 characters)
string? Reason { get; }
Property Value
User
The user that was banned.
IUser User { get; }