2025-04-26 23:15:54 +00:00
|
|
|
using SharpChat.Bans;
|
2025-04-26 19:42:23 +00:00
|
|
|
|
2025-04-26 23:15:54 +00:00
|
|
|
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();
|
2025-04-26 19:42:23 +00:00
|
|
|
}
|