Skip to content
Classcorev0.10.0

BuilderComponent

Base class for Discord.js builder components

Wraps Discord.js builders (SlashCommandBuilder, EmbedBuilder, etc.) with Seedcord-specific defaults and helper methods.

abstract class BuilderComponent<
    BuilderKey extends BuilderType
> extends BaseComponent<InstantiatedBuilder<BuilderKey>>

Member visibility

Filter class members by access level.

constructor

Constructs a new instance of the BuilderComponent class

protected BuilderComponent(type: BuilderKey)

Showing members with Protected visibility and higher.

Properties

BuilderKey

The type of Discord.js builder being wrapped

BuilderKey extends BuilderType

type

public readonly type: BuilderKey