optional
subCommands: string[]
options: { [name: string]: InteractionOption; }
A parser for slash commands
subCommands: string[]
options: { [name: string]: InteractionOption; }
Add Package
deno add jsr:@inro/slash-command-parser
Import symbol
import { type Interaction } from "@inro/slash-command-parser";
---- OR ----
Import directly with a jsr specifier
import { type Interaction } from "jsr:@inro/slash-command-parser";
Add Package
npx jsr add @inro/slash-command-parser
Import symbol
import { type Interaction } from "@inro/slash-command-parser";
Add Package
yarn dlx jsr add @inro/slash-command-parser
Import symbol
import { type Interaction } from "@inro/slash-command-parser";
Add Package
pnpm dlx jsr add @inro/slash-command-parser
Import symbol
import { type Interaction } from "@inro/slash-command-parser";
Add Package
bunx jsr add @inro/slash-command-parser
Import symbol
import { type Interaction } from "@inro/slash-command-parser";