> ## Documentation Index
> Fetch the complete documentation index at: https://yor.mintlify.site/llms.txt
> Use this file to discover all available pages before exploring further.

# Yor.ts | interfaces/UserContextMenuCommand

[yor.ts](../README) / [Exports](../modules) / UserContextMenuCommand

# Interface: UserContextMenuCommand

## Hierarchy

* [`ContextMenuCommand`](ContextMenuCommand)

  ↳ **`UserContextMenuCommand`**

## Implemented by

* [`YorUserContextMenuCommand`](../classes/YorUserContextMenuCommand)

## Table of contents

### Properties

* [builder](UserContextMenuCommand#builder)
* [execute](UserContextMenuCommand#execute)

## Properties

### builder

• **builder**: `ContextMenuCommandBuilder`

#### Inherited from

[ContextMenuCommand](ContextMenuCommand).[builder](ContextMenuCommand#builder)

#### Defined in

[src/interfaces/Command.ts:22](https://github.com/OreOreki/yor.ts/blob/ff21935/src/interfaces/Command.ts#L22)

***

### execute

• **execute**: (`context`: [`UserContextMenuCommandInteraction`](../classes/UserContextMenuCommandInteraction)) => `void` | [`Promise`](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Promise)\<`void`>

#### Type declaration

▸ (`context`): `void` | [`Promise`](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Promise)\<`void`>

##### Parameters

| Name      | Type                                                                                |
| :-------- | :---------------------------------------------------------------------------------- |
| `context` | [`UserContextMenuCommandInteraction`](../classes/UserContextMenuCommandInteraction) |

##### Returns

`void` | [`Promise`](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Promise)\<`void`>

#### Defined in

[src/interfaces/Command.ts:32](https://github.com/OreOreki/yor.ts/blob/ff21935/src/interfaces/Command.ts#L32)
