
com.freya02.botcommands.api.commands.prefixed.annotations.TextDeclaration Maven / Gradle / Ivy
package com.freya02.botcommands.api.commands.prefixed.annotations;
import com.freya02.botcommands.api.commands.annotations.Command;
import java.lang.annotation.ElementType;
import java.lang.annotation.Retention;
import java.lang.annotation.RetentionPolicy;
import java.lang.annotation.Target;
/**
* Marks a function as one which declares text commands
*
* Note: The function may be called more than once.
*
*
Requirement: The declaring class must be annotated with {@link Command}.
*
* @see Command
*/
@Retention(RetentionPolicy.RUNTIME)
@Target(ElementType.METHOD)
public @interface TextDeclaration {}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy