@tryforge/forge.minecraft
    Preparing search index...

    Interface IExtendedRunnable

    interface IExtendedRunnable {
        allowTopLevelReturn?: boolean;
        args?: string[];
        client: ForgeClient;
        command: BaseCommand<unknown> | null;
        container?: Container;
        data: IExtendedCompilationResult;
        disableConsoleErrors?: boolean;
        doNotSend?: boolean;
        environment?: Record<string, unknown>;
        extras?: unknown;
        keywords?: Record<string, string>;
        obj: ExtendedSendable;
        redirectErrorsToConsole?: boolean;
        states?: States;
    }

    Hierarchy

    • IRunnable
      • IExtendedRunnable
    Index

    Properties

    allowTopLevelReturn?: boolean
    args?: string[]

    The args used in the message command

    client: ForgeClient

    The available discord client

    command: BaseCommand<unknown> | null

    The command used for this execution

    container?: Container

    The container reference to use

    data: IExtendedCompilationResult

    The compiled data to execute

    disableConsoleErrors?: boolean

    Removes errors output to console

    doNotSend?: boolean

    Whether to suppress sending the response to discord.

    environment?: Record<string, unknown>

    The already existing env variables

    extras?: unknown

    Extras data

    keywords?: Record<string, string>

    The already existing variables defined with $let

    The context this code will run in

    redirectErrorsToConsole?: boolean

    Whether to suppress errors from being sent to discord, and be sent to console instead

    states?: States

    The old and new states of an event