SoulFire TypeScript SDK 2.10.3
    Preparing search index...

    Class BotSession

    A bot's event stream and the state it adds up to. After an error it reconnects and resumes where it left off. Its Effect scope closes it.

    Index
    • Parameters

      • eventCase:
            | "title"
            | "status"
            | "environment"
            | "snapshot"
            | "stateDelta"
            | "chat"
            | "lifecycle"
            | "entityEvent"
            | "blockUpdate"
            | "inventory"
            | "damage"
            | "resyncRequired"
            | "heartbeat"
            | "playerList"
            | "bossBar"
            | "sound"
            | "particle"
            | "scoreboard"
            | "resourcePack"
            | "chunk"
            | undefined
      • Optionaloptions: { timeoutMs?: number }

      Returns Effect<BotEvent, SoulFireOperationError>