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

x/denocordts/src/structures/commands/mod.ts>ContextMenu

An Object Oriented Discord API wrapper for Deno.
Latest
class ContextMenu
import { ContextMenu } from "https://deno.land/x/denocordts@1.2.0/src/structures/commands/mod.ts";

Constructors

new
ContextMenu()

Properties

description: string
description_localizations: undefined | LocalizationMap
dm_permission: undefined | boolean
name: string
name_localizations: undefined | LocalizationMap
type

Methods

setDescriptionLocale(locale: LocaleString, localizedString: string | null): this
setName(name: string)
setNameLocale(locale: LocaleString, localizedString: string | null): this
setType(type: "Message" | "User")