13 lines
379 B
C#
13 lines
379 B
C#
using SharpChat.Bans;
|
|
|
|
namespace SharpChat.Flashii;
|
|
|
|
public abstract class FlashiiBanInfo(
|
|
BanKind kind,
|
|
FlashiiRawBanInfo rawBanInfo
|
|
) : BanInfo {
|
|
public BanKind Kind { get; } = kind;
|
|
public bool IsPermanent { get; } = rawBanInfo.IsPermanent;
|
|
public DateTimeOffset ExpiresAt { get; } = rawBanInfo.ExpiresAt;
|
|
public abstract override string ToString();
|
|
}
|