Skip to main content
Deno 2 is finally here 🎉️
Learn more
Module

x/harmony/src/interactions/mod.ts>subslash

An easy to use Discord API Library for Deno.
Go to Latest
function subslash
import { subslash } from "https://deno.land/x/harmony@v2.8.0/src/interactions/mod.ts";

Decorator to create a Sub-Command Command handler for a Slash Command.

Example:

class MyClient extends Client {
  // ...

Parameters

parent: string
optional
name: string
optional
guild: string

Returns

ApplicationCommandDecorator