SlashCommandParser

Parser in charge of dealing with the arguments for slash commands.

This parser does not support multi converters, as there's no good way to represent them with Discord's API. Coalescing converters will act like single converters.

Constructors

Link copied to clipboard
constructor()

Functions

Link copied to clipboard
suspend fun <T : Arguments> parse(builder: () -> T, context: SlashCommandContext<*, *, *>): T

Parse the arguments for this slash command, which have been provided by Discord.