The CustomCommandResult interface in @minecraft/server.
Interface in @minecraft/server
import type { CustomCommandResult } from '@minecraft/server';Properties
Section titled “Properties”status
Section titled “status”status: CustomCommandStatus;Types
message
Section titled “message”optional
message?: string;Shown to whoever ran the command.