fix(ModalSubmitInteraction): add isFromMessage()
missing method
v13.8.1
This commit is contained in:
parent
150e86a074
commit
8b98630169
@ -94,6 +94,14 @@ class ModalSubmitInteraction extends Interaction {
|
|||||||
}));
|
}));
|
||||||
}
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Whether this is from a {@link MessageComponentInteraction}.
|
||||||
|
* @returns {boolean}
|
||||||
|
*/
|
||||||
|
isFromMessage() {
|
||||||
|
return Boolean(this.message);
|
||||||
|
}
|
||||||
|
|
||||||
// These are here only for documentation purposes - they are implemented by InteractionResponses
|
// These are here only for documentation purposes - they are implemented by InteractionResponses
|
||||||
/* eslint-disable no-empty-function */
|
/* eslint-disable no-empty-function */
|
||||||
deferReply() {}
|
deferReply() {}
|
||||||
|
Loading…
Reference in New Issue
Block a user