Skip to main content
Module

x/harmony/deploy.ts>subslash

An easy to use Discord API Library for Deno.
Latest
function subslash
import { subslash } from "https://deno.land/x/harmony@v2.9.0/deploy.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