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

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

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

Decorator to create a User Context Menu Command handler.

Example:

class MyClient extends Client {
  // ...

Parameters

optional
name: string

Returns

ApplicationCommandDecorator