dressed
Version:
A sleek, serverless-ready Discord bot framework.
14 lines (13 loc) • 705 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 componenets - Up to 10 components of the type action row, text display, section, media gallery, separator, or file
*
* **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;