UNPKG

dressed

Version:

A sleek, serverless-ready Discord bot framework.

19 lines 502 B
import { ComponentType, } from "discord-api-types/v10"; /** * Creates a text display component * * Markdown text * * @param content - Text that will be displayed similar to a message * * **IMPORTANT**: * In order to use this component, you must add the `MessageFlags.IsComponentsV2` flag to your message */ export function TextDisplay(content, config) { return { ...config, content, type: ComponentType.TextDisplay, }; } //# sourceMappingURL=text-display.js.map