default(content: string,template?: OptionDefinition | OptionDefinition[],): Interaction
content: string
optional
template: OptionDefinition | OptionDefinition[]
A parser for slash commands
default(content: string,template?: OptionDefinition | OptionDefinition[],): Interaction
content: string
template: OptionDefinition | OptionDefinition[]
Add Package
deno add jsr:@inro/slash-command-parser
Import symbol
import module from "@inro/slash-command-parser";
---- OR ----
Import directly with a jsr specifier
import module from "jsr:@inro/slash-command-parser";
Add Package
npx jsr add @inro/slash-command-parser
Import symbol
import module from "@inro/slash-command-parser";
Add Package
yarn dlx jsr add @inro/slash-command-parser
Import symbol
import module from "@inro/slash-command-parser";
Add Package
pnpm dlx jsr add @inro/slash-command-parser
Import symbol
import module from "@inro/slash-command-parser";
Add Package
bunx jsr add @inro/slash-command-parser
Import symbol
import module from "@inro/slash-command-parser";