Skip to content

Commit 0b61dbf

Browse files
authored
docs(InteractionResponses): Add showModal() return type (#8376)
1 parent ba6797e commit 0b61dbf

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

packages/discord.js/src/structures/interfaces/InteractionResponses.js

+1
Original file line numberDiff line numberDiff line change
@@ -238,6 +238,7 @@ class InteractionResponses {
238238
/**
239239
* Shows a modal component
240240
* @param {APIModal|ModalData|Modal} modal The modal to show
241+
* @returns {Promise<void>}
241242
*/
242243
async showModal(modal) {
243244
if (this.deferred || this.replied) throw new Error(ErrorCodes.InteractionAlreadyReplied);

0 commit comments

Comments
 (0)