Classseedcordv0.10.6
abstract class BuilderComponent<
BuilderKey extends BuilderType
> extends BaseComponent<InstantiatedBuilder<BuilderKey>>abstract class BuilderComponent<
BuilderKey extends BuilderType
> extends BaseComponent<InstantiatedBuilder<BuilderKey>>Member visibility
Filter class members by access level.
BuilderKey
The type of Discord.js builder being wrapped
BuilderKey extends BuilderTypeBuilderKey extends BuilderTypepublic get component(): InstantiatedBuilder<BuilderKey>public get component(): InstantiatedBuilder<BuilderKey>- internal
instance
Gets the component instance for configuration
Use this to access Discord.js builder methods like setTitle(), setDescription(), etc.
Use this in your component classes to configure the builder
public readonly type: BuilderKeypublic readonly type: BuilderKey