Skip to main content

[NodeMod Core]

/ .. / CommandContext

Interface: CommandContext

Defined in: src/core/cmd.ts:4

Context object containing information about a command execution.

Properties

text

text: string

Defined in: src/core/cmd.ts:6

The raw command text as entered by the client

args

args: string[]

Defined in: src/core/cmd.ts:8

Array of parsed command arguments, including the command name as the first element

client

client: Entity

Defined in: src/core/cmd.ts:10

The client entity that issued the command