Class: MessageContextMenuInteraction
Hierarchy
↳
MessageContextMenuInteraction
Constructors
constructor
• new MessageContextMenuInteraction(client
, data
)
Parameters
Name | Type |
---|---|
client | Client |
data | APIMessageApplicationCommandInteraction |
Overrides
CommandInteraction.constructor
Defined in
packages/libcord/src/structures/interactions/MessageContextMenuInteraction.ts:16
Properties
channel
• channel: null
| Channel
Inherited from
Defined in
packages/libcord/src/structures/interactions/CommandInteraction.ts:26
client
• Readonly
client: Client
Inherited from
Defined in
packages/libcord/src/structures/Base.ts:8
data
• data: APIBaseInteraction
<any
, any
>
Inherited from
Defined in
packages/libcord/src/structures/interactions/Interaction.ts:17
defered
• Optional
defered: boolean
Inherited from
Defined in
packages/libcord/src/structures/interactions/CommandInteraction.ts:32
guild
• guild: null
| Guild
Inherited from
Defined in
packages/libcord/src/structures/interactions/CommandInteraction.ts:27
id
• id: string
Overrides
Defined in
packages/libcord/src/structures/interactions/MessageContextMenuInteraction.ts:14
member
• member: null
| Member
Inherited from
Defined in
packages/libcord/src/structures/interactions/CommandInteraction.ts:29
name
• name: string
Inherited from
Defined in
packages/libcord/src/structures/interactions/Interaction.ts:18
options
• Optional
options: any
Inherited from
Defined in
packages/libcord/src/structures/interactions/CommandInteraction.ts:31
replied
• Optional
replied: boolean
Inherited from
Defined in
packages/libcord/src/structures/interactions/CommandInteraction.ts:33
token
• token: string
Inherited from
Defined in
packages/libcord/src/structures/interactions/CommandInteraction.ts:30
type
• type: number
Inherited from
Defined in
packages/libcord/src/structures/interactions/Interaction.ts:19
user
• Optional
user: User
Inherited from
Defined in
packages/libcord/src/structures/interactions/CommandInteraction.ts:28
Accessors
targetMessage
• get
targetMessage(): APIMessage
Returns
APIMessage
Defined in
packages/libcord/src/structures/interactions/MessageContextMenuInteraction.ts:22
Methods
defer
▸ defer(ephemeral
): Promise
<void
>
Parameters
Name | Type |
---|---|
ephemeral | boolean |
Returns
Promise
<void
>
Inherited from
Defined in
packages/libcord/src/structures/interactions/CommandInteraction.ts:67
isButton
▸ isButton(): this is ButtonInteraction
Returns
this is ButtonInteraction
Inherited from
Defined in
packages/libcord/src/structures/interactions/Interaction.ts:38
isCommand
▸ isCommand(): this is CommandInteraction
Returns
this is CommandInteraction
Inherited from
Defined in
packages/libcord/src/structures/interactions/Interaction.ts:26
isMessageContextMenu
▸ isMessageContextMenu(): this is MessageContextMenuInteraction
Returns
this is MessageContextMenuInteraction
Inherited from
CommandInteraction.isMessageContextMenu
Defined in
packages/libcord/src/structures/interactions/Interaction.ts:30
isSelectMenu
▸ isSelectMenu(): this is SelectMenuInteraction
Returns
this is SelectMenuInteraction
Inherited from
CommandInteraction.isSelectMenu
Defined in
packages/libcord/src/structures/interactions/Interaction.ts:46
isUserContextMenu
▸ isUserContextMenu(): this is UserContextMenuInteraction
Returns
this is UserContextMenuInteraction
Inherited from
CommandInteraction.isUserContextMenu
Defined in
packages/libcord/src/structures/interactions/Interaction.ts:34
reply
▸ reply(interactionOptions
): Promise
<MessageContextMenuInteraction
>
Parameters
Name | Type |
---|---|
interactionOptions | string | InteractionOptions |
Returns
Promise
<MessageContextMenuInteraction
>
Inherited from
Defined in
packages/libcord/src/structures/interactions/CommandInteraction.ts:79