Skip to main content
Module

x/harmony/mod.ts>command

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

Command decorator. Decorates the function with optional metadata as a Command registered upon constructing class.

Parameters

optional
options: CommandOptions

Returns

(original: (...args: any[]) => any, ctx: ClassMethodDecoratorContext<CommandClient | Extension>) => (...args: any[]) => any