Skip to content

Commit

Permalink
docs(InteractionResponses): Add showModal() return type (#8376)
Browse files Browse the repository at this point in the history
  • Loading branch information
Jiralite committed Jul 27, 2022
1 parent ba6797e commit 0b61dbf
Showing 1 changed file with 1 addition and 0 deletions.
Expand Up @@ -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);
Expand Down

1 comment on commit 0b61dbf

@vercel
Copy link

@vercel vercel bot commented on 0b61dbf Jul 27, 2022

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please sign in to comment.