docs(InteractionResponses): Add showModal() return type (#8376)

This commit is contained in:
Jiralite
2022-07-27 12:59:26 +01:00
committed by GitHub
parent ba6797e742
commit 0b61dbf720

View File

@@ -238,6 +238,7 @@ class InteractionResponses {
/**
* Shows a modal component
* @param {APIModal|ModalData|Modal} modal The modal to show
* @returns {Promise<void>}
*/
async showModal(modal) {
if (this.deferred || this.replied) throw new Error(ErrorCodes.InteractionAlreadyReplied);