SlashUtils

object SlashUtils

Functions

asEphemeral
Link copied to clipboard
fun RestAction<*>.asEphemeral(): RestAction<*>
discoverSlashCommands
Link copied to clipboard
fun discoverSlashCommands(packageName: String): DiscoveryResult

Discover the BaseSlashCommand inside the package.

toHuman
Link copied to clipboard
fun Array<Permission>.toHuman(jump: Boolean = false): String

Convert an Array of Permission in a readable list.