A small data type in the SboxSuperuser package. Holds a public server announcement message and a flag to suppress the default display, with the message set through an internal constructor.
namespace SboxSuperuser;
/// <summary>A public server announcement, separate from private command replies.</summary>
public sealed class AdminAnnouncementEvent
{
public string Message { get; }
public bool SuppressDefaultDisplay { get; set; }
internal AdminAnnouncementEvent(string message) => Message = message;
}