Skip to main content

SeparatorComponent

@discordeno/bot


Documentation / @discordeno/bot / SeparatorComponent

Interface: SeparatorComponent

Defined in: packages/types/dist/types/discordeno.d.ts:281

https://discord.com/developers/docs/components/reference#separator

Extends

Properties

divider?

optional divider: boolean

Defined in: packages/types/dist/types/discordeno.d.ts:284

Whether a visual divider should be displayed in the component. Defaults to true


id?

optional id: number

Defined in: packages/types/dist/types/discordeno.d.ts:65

32 bit integer used as an optional identifier for component

Inherited from

BaseComponent.id


spacing?

optional spacing: SeparatorSpacingSize

Defined in: packages/types/dist/types/discordeno.d.ts:286

Size of separator padding — 1 for small padding, 2 for large padding. Defaults to 1


type

type: Separator

Defined in: packages/types/dist/types/discordeno.d.ts:282

The type of the component

Overrides

BaseComponent.type