Constructor
new ModalInteraction(client, manager, data)
The constructor of the modal interaction class.
Parameters:
Name | Type | Description |
---|---|---|
client | Client | The client |
manager | ModalInteractionManager | The modal interaction manager |
data | ModalInteractionData | The data of the modal interaction |
Members
components
The components of the modal
manager :ModalInteractionManager
The modal interaction manager
title
The title of the modal
Methods
buildModal() → {ModalBuilder|DisGroupDevError}
Builds the modal
Returns:
- Type:
- ModalBuilder |
DisGroupDevError
load() → {Promise.<(Boolean|DisGroupDevError)>}
Reloads the modal interaction
Returns:
- Type:
- Promise.
<(Boolean| DisGroupDevError)>
reload() → {Promise.<(Boolean|DisGroupDevError)>}
Reloads the modal interaction
Returns:
- Type:
- Promise.
<(Boolean| DisGroupDevError)>
unload() → {Promise.<(Boolean|DisGroupDevError)>}
Unloads the modal interaction
Returns:
- Type:
- Promise.
<(Boolean| DisGroupDevError)>