AbstractComponentFactory

Properties

Link copied to clipboard

Functions

Link copied to clipboard

Creates a reference to a rate limiter previously declared by a RateLimitProvider, alongside a discriminator which differentiates this component from others under the same group.

Link copied to clipboard
suspend fun deleteComponents(vararg components: IdentifiableComponent): <Error class: unknown class>
suspend fun deleteComponents(components: Collection<IdentifiableComponent>): <Error class: unknown class>

Removes the component data stored by the framework of the provided components.

Link copied to clipboard
suspend fun deleteComponentsByIds(vararg ids: Int): <Error class: unknown class>

Removes the component data stored by the framework of the provided components.

Link copied to clipboard
@JvmName(name = "deleteComponentsByIds")
fun deleteComponentsByIdsJava(vararg ids: Int): <Error class: unknown class>
@JvmName(name = "deleteComponentsByIds")
fun deleteComponentsByIdsJava(ids: Collection<Int>): <Error class: unknown class>

Removes the component data stored by the framework of the provided components.

Link copied to clipboard
@JvmName(name = "deleteComponents")
fun deleteComponentsJava(vararg components: IdentifiableComponent): <Error class: unknown class>
@JvmName(name = "deleteComponents")
fun deleteComponentsJava(components: Collection<IdentifiableComponent>): <Error class: unknown class>

Removes the component data stored by the framework of the provided components.

Link copied to clipboard
suspend fun deleteJdaComponents(vararg components: ActionComponent): <Error class: unknown class>
suspend fun deleteJdaComponents(components: Collection<ActionComponent>): <Error class: unknown class>

Removes the component data stored by the framework of the provided components.

Link copied to clipboard
@JvmName(name = "deleteJdaComponents")
fun deleteJdaComponentsJava(vararg components: ActionComponent): <Error class: unknown class>
@JvmName(name = "deleteJdaComponents")
fun deleteJdaComponentsJava(components: Collection<ActionComponent>): <Error class: unknown class>

Removes the component data stored by the framework of the provided components.

Link copied to clipboard
suspend fun deleteRows(components: Collection<LayoutComponent>): <Error class: unknown class>

Removes the component data stored by the framework of the provided components.

Link copied to clipboard
@JvmName(name = "deleteRows")
fun deleteRowsJava(components: Collection<LayoutComponent>): <Error class: unknown class>

Removes the component data stored by the framework of the provided components.

Link copied to clipboard

Gets an existing reference to a ComponentRateLimitReference.

Link copied to clipboard
@CheckReturnValue
fun group(vararg components: IGroupHolder): ComponentGroupFactory

Creates a group of components.