nyx Typedoc
    Preparing search index...

    Interface ChildCommand<Data, Parent, Types>

    A command that belongs to a ChildableCommand.

    interface ChildCommand<
        Data extends Nameable,
        Parent extends ChildableCommand<any, any>,
        Types extends InteractionTypes = InteractionTypes,
    > {
        getData(): Data;
        getMeta(): Readonly<Metadata> | null;
        getParent(): Parent;
        isContextMenu(): this is ContextMenuCommand<Types>;
        isParent(): this is ParentCommand<Types>;
        isStandalone(): this is StandaloneCommand<Types>;
        isSubCommand(): this is SubCommand<Types>;
        isSubCommandGroup(): this is SubCommandGroup<Types>;
    }

    Type Parameters

    Hierarchy (View Summary)

    Index