Skip to main content
Corvus Connection

ChatCommandContext

Context
TheOmenDen.StreamPulse.Scripting.Contexts.ChatCommandContextContext bound to an OnChatCommandAttribute handler. Command is the command word as typed (without the prefix); ArgumentText is everything after it (trimmed) and Arguments is that text split on whitespace. The role flags reflect the sender's chat badges so a handler (or a compiled graph's emitted guard) can apply a minimum-role gate.

Members

13
  • Command
    property
    string Command
  • Prefix
    property
    string Prefix
  • ArgumentText
    property
    string ArgumentText
  • Arguments
    property
    IReadOnlyList<string> Arguments
  • Message
    property
    string Message
  • User
    property
    ScriptUser User
  • ChannelId
    property
    string ChannelId
  • MessageId
    property
    string MessageId
  • IsBroadcaster
    property
    bool IsBroadcaster
  • IsModerator
    property
    bool IsModerator
  • IsVip
    property
    bool IsVip
  • IsSubscriber
    property
    bool IsSubscriber
  • ReceivedAt
    property
    DateTimeOffset ReceivedAt