Skip to main content
Module

x/harmony/deploy.ts>slash

An easy to use Discord API Library for Deno.
Latest
function slash
import { slash } from "https://deno.land/x/harmony@v2.9.0/deploy.ts";

Decorator to create a Slash Command handler.

Example:

class MyClient extends Client {
  // ...

Parameters

optional
name: string
optional
guild: string

Returns

ApplicationCommandDecorator