dressed
Version:
A sleek, serverless-ready Discord bot framework.
12 lines (11 loc) • 586 B
TypeScript
import { type APIComponentInLabel, type APILabelComponent } from "discord-api-types/v10";
/**
* Creates a label component
*
* Container associating a label and description with a component
*
* @param label The label text; max 45 characters
* @param component The component within the label
* @param description An optional description text for the label; max 100 characters
*/
export declare function Label(label: string, component: APIComponentInLabel, description?: string, config?: Omit<APILabelComponent, "label" | "component" | "description" | "type">): APILabelComponent;