![JAR search and dependency download from the Maven repository](/logo.png)
io.github.freya022.botcommands.api.components.annotations.ComponentTimeoutHandler.kt Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of BotCommands Show documentation
Show all versions of BotCommands Show documentation
A Kotlin-first (and Java) framework that makes creating Discord bots a piece of cake, using the JDA library.
package io.github.freya022.botcommands.api.components.annotations
import io.github.freya022.botcommands.api.components.data.ComponentTimeoutData
/**
* Annotation marking a method as a persistent component timeout handler
*
* Requirements:
* - Public & non-static
* - First parameter is a [ComponentTimeoutData]
*/
@Target(AnnotationTarget.FUNCTION)
annotation class ComponentTimeoutHandler(@get:JvmName("value") val name: String)
© 2015 - 2025 Weber Informatics LLC | Privacy Policy