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)

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

Link copied to clipboard
suspend fun deleteComponentsByIds(vararg ids: Int)

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

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

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

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

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

Link copied to clipboard
suspend fun deleteJdaComponents(components: Collection<ICustomId>)
suspend fun deleteJdaComponents(vararg components: ICustomId)

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

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

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

Link copied to clipboard

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

Link copied to clipboard
@JvmName(name = "deleteRows")
fun deleteRowsJava(components: Collection<MessageTopLevelComponent>)

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

Link copied to clipboard
suspend fun deleteTree(tree: ComponentTree<*>)
Link copied to clipboard
@JvmName(name = "deleteRows")
suspend fun deleteTreeJava(tree: ComponentTree<*>)
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.