Procs
proc getCommandOption(parameter: ProcParameter): ApplicationCommandOptionType {. ...raises: [ValueError], tags: [].}
- Gets the ApplicationCommandOptionType that correlates to a certain type Source Edit
proc toApplicationCommand(command: Command): ApplicationCommand {.inline, ...raises: [ValueError], tags: [].}
- Source Edit
proc toApplicationCommand(group: CommandGroup): ApplicationCommand {. ...raises: [ValueError], tags: [].}
- Makes an ApplicationCommand from a CommandGroup Source Edit
proc toChoices(options: seq[EnumOption]): seq[ApplicationCommandOptionChoice] {. ...raises: [], tags: [].}
- Source Edit
proc toOptions(parameters: seq[ProcParameter]): seq[ApplicationCommandOption] {. ...raises: [ValueError], tags: [].}
- Source Edit