@tryforge/forgescript
    Preparing search index...

    Interface IRunnable

    interface IRunnable {
        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, unknown>;
        localFunctions?: Record<string, ILocalFunctionData>;
        obj: Sendable;
        redirectErrorsToConsole?: boolean;
        states?: States;
    }
    Index
    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

    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, unknown>

    The already existing variables defined with $let

    localFunctions?: Record<string, ILocalFunctionData>

    The already existing local functions

    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