dressed
Version:
A sleek, serverless-ready Discord bot framework.
14 lines (13 loc) • 661 B
TypeScript
import { type APIComponentInContainer, type APIContainerComponent } from "discord-api-types/v10";
/**
* Creates a container component
*
* Container that visually groups a set of components
*
* @param components Child components that are encapsulated within the Container
*
* **IMPORTANT**:
* In order to use this component, you must add the `MessageFlags.IsComponentsV2` flag to your message
*/
export declare function Container(...components: APIComponentInContainer[]): APIContainerComponent;
export declare function Container(components: APIComponentInContainer[], config: Omit<APIContainerComponent, "components" | "type">): APIContainerComponent;