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

x/harmony/src/interactions/decorators.ts>groupslash

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

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

Example:

class MyClient extends Client {
  // ...

Parameters

parent: string
group: string
optional
name: string
optional
guild: string

Returns

ApplicationCommandDecorator