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

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

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

Decorator to create a Slash Command handler.

Example:

class MyClient extends Client {
  // ...

Parameters

optional
name: string
optional
guild: string

Returns

ApplicationCommandDecorator