Skip to main content
Corvus Connection

BanContext

Context
TheOmenDen.StreamPulse.Scripting.Contexts.BanContextContext bound to an OnBanAttribute handler. Covers both bans and timeouts: IsPermanent is true for a ban, and EndsAt is the timeout expiry (MinValue for a permanent ban).

Members

9
  • UserId
    property
    string UserId
  • UserName
    property
    string UserName
  • ModeratorId
    property
    string ModeratorId
  • ModeratorName
    property
    string ModeratorName
  • IsPermanent
    property
    bool IsPermanent
  • Reason
    property
    string Reason
  • EndsAt
    property
    DateTimeOffset EndsAt
  • BroadcasterId
    property
    string BroadcasterId
  • OccurredAt
    property
    DateTimeOffset OccurredAt