Skip to content
Work in progress. These docs describe Spawnite at launch, and some parts are still being built.

WriteCommandOptions

WriteCommandOptions<Handle> = object & ActsThroughOf<Handle> extends true ? object : object

What writeCommand takes beside the step and the bot: the entity it acts through, required where the handle declares entity: true.

Name Type
command Handle
payload PayloadOf<Handle>
Type Parameter
Handle extends AnyCommandHandle