Skip to main content
Using Deno in production at your company? Earn free Deno merch.
Give us feedback
Module

x/harmony/src/client/client.ts>event

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

Event decorator to create an Event handler from function

Parameters

optional
name: keyof ClientEvents

Returns

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