@witchcraft/spellcraft
    Preparing search index...

    Type Alias Commands<TEntries>

    type Commands<
        TEntries extends Record<string, Command> = Record<string, Command>,
    > = {
        entries: TEntries;
        type: "commands";
    }

    Type Parameters

    Index

    Properties

    Properties

    entries: TEntries

    The command entries.

    To add/remove entries you should addCommand/removeCommand or setCommandsProp with the synthetic entries@add/remove properties.

    The synthetic properties can be hooked into with Manager.hooks.

    type: "commands"