7dfdef46a5
[vi] cảm giác đau khổ
21 lines
481 B
JavaScript
21 lines
481 B
JavaScript
'use strict';
|
|
|
|
const ContextMenuInteraction = require('./ContextMenuInteraction');
|
|
|
|
/**
|
|
* Represents a message context menu interaction.
|
|
* @extends {ContextMenuInteraction}
|
|
*/
|
|
class MessageContextMenuInteraction extends ContextMenuInteraction {
|
|
/**
|
|
* The message this interaction was sent from
|
|
* @type {Message|APIMessage}
|
|
* @readonly
|
|
*/
|
|
get targetMessage() {
|
|
return this.options.getMessage('message');
|
|
}
|
|
}
|
|
|
|
module.exports = MessageContextMenuInteraction;
|