io.github.freya022.botcommands.api.commands.text.annotations.NSFW.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.commands.text.annotations
import io.github.freya022.botcommands.api.commands.text.builder.TextCommandBuilder
/**
* Marks a text command as being usable in NSFW channels only.
*
* ### Built-in help content
* NSFW commands will be shown if requested in an NSFW channel.
*
* @see TextCommandBuilder.nsfw DSL equivalent
*/
@Target(AnnotationTarget.FUNCTION, AnnotationTarget.CLASS)
@Retention(AnnotationRetention.RUNTIME)
annotation class NSFW