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

x/harmony/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.6.0/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