Classseedcordv0.10.6Internal
BaseComponent
Base class for Discord component wrappers
Provides common functionality for building Discord components with proper typing.
The constructor for this class is marked as internal. Third-party code should not call the constructor directly or create subclasses that extend the BaseComponentBaseComponent class.
abstract class BaseComponent<TComponent>abstract class BaseComponent<TComponent>Member visibility
Filter class members by access level.
TComponent
The Discord.js component type being wrapped
TComponentTComponentpublic abstract component: InstantiatedBuilder<BuilderType> | InstantiatedActionRow<ActionRowComponentType>public abstract component: InstantiatedBuilder<BuilderType> | InstantiatedActionRow<ActionRowComponentType>protected instance: TComponentprotected instance: TComponent