Skip to main content
Module

x/denocordts/mod.ts>ContextMenu

An Object Oriented Discord API wrapper for Deno.
Latest
class ContextMenu
Re-export
import { ContextMenu } from "https://deno.land/x/denocordts@1.2.0/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")