io.github.freya022.botcommands.api.components.annotations.GroupTimeoutHandler.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.GroupTimeoutData
/**
* Annotation marking a method as a persistent group timeout handler
*
* Requirements:
* - Public & non-static
* - First parameter is a [GroupTimeoutData]
*/
@Target(AnnotationTarget.FUNCTION)
annotation class GroupTimeoutHandler(@get:JvmName("value") val name: String)