slashCommand

fun slashCommand(name: String, description: String, guildId: String? = null, permissions: Permissions = Permissions.ALL, build: CommandContext<ApplicationCommand>.() -> Unit)(source)

A chat based command, prefixed with a /