dressed
Version:
A sleek, serverless-ready Discord bot framework.
13 lines (12 loc) • 491 B
TypeScript
import { type APISeparatorComponent, SeparatorSpacingSize } from "discord-api-types/v10";
/**
* Creates a separator component
*
* Component to add vertical padding between other components
*
* **IMPORTANT**:
* In order to use this component, you must add the `MessageFlags.IsComponentsV2` flag to your message
*/
export declare function Separator(config?: Omit<APISeparatorComponent, "type" | "spacing"> & {
spacing?: keyof typeof SeparatorSpacingSize;
}): APISeparatorComponent;