new Components
src/utils/components/components.ts:69new Components(data?: ComponentsOptions)Utils Components Structure
import { Utils } from 'detritus-client';
Utils.Components;new Components(data?: ComponentsOptions)_getFromSnake(key: string): any_setFromSnake(key: string, value: any): any[custom](): objectaddActionRow(data?: ComponentActionRowData | ComponentActionRow): thisaddButton(data?: ComponentActionData | ComponentButton, inline?: boolean): thisaddContainer(data?: ComponentContainer | ComponentContainerData): thisaddFile(data?: ComponentFile | ComponentFileData): thisaddInputText(data?: ComponentActionData | ComponentInputText): thisaddLabel(data?: ComponentLabel | ComponentLabelData): thisaddMediaGallery(data?: ComponentMediaGallery | ComponentMediaGalleryData): thisaddSection(data?: ComponentSection | ComponentSectionData): thisaddSelectMenu(data?: ComponentActionData | ComponentSelectMenu): thisaddSeparator(data?: ComponentSeparator | ComponentSeparatorData): thisaddTextDisplay(data?: ComponentTextDisplay | ComponentTextDisplayData): thisclear(): voidcreateActionRow(data?: ComponentActionRowData): ComponentActionRowcreateButton(data?: ComponentActionData, inline?: boolean): ComponentButtoncreateContainer(data?: ComponentContainerData): ComponentContainercreateFile(data?: ComponentFileData): ComponentFilecreateInputText(data?: ComponentActionData): ComponentInputTextcreateLabel(data?: ComponentLabelData): ComponentLabelcreateMediaGallery(data?: ComponentMediaGalleryData): ComponentMediaGallerycreateSection(data?: ComponentSectionData): ComponentSectioncreateSelectMenu(data?: ComponentActionData): ComponentSelectMenucreateSeparator(data?: ComponentSeparatorData): ComponentSeparatorcreateTextDisplay(data?: ComponentTextDisplayData): ComponentTextDisplaydifference(key: string, value: any): [boolean, any]differences(data?: BaseStructureData): object | nulldifferencesBetween(structure: Structure): object | nullhasDifference(key: string, value: any): booleanhasDifferences(data?: BaseStructureData): booleanhasDifferencesBetween(structure: Structure): booleanmerge(data?: BaseStructureData): voidmergeValue(key: string, value: any): voidonError(context: ComponentContext, error: Error): unknownonTimeout(): unknownrun(context: ComponentContext): unknowntoJSON(): RawChannelMessageComponent[]