Constructor
new SelectMenuInteractionManager(client, interactionManager)
The constructor of the select menu interaction manager class.
Parameters:
Name | Type | Description |
---|---|---|
client | Client | The client |
interactionManager | InteractionManager | The interaction manager |
Members
cache :Collection.<String, SelectMenuInteraction>
The cache with all select menu interactions
Type:
- Collection.
<String, SelectMenuInteraction>
client :Client
The client
Type:
- Client
manager :InteractionManager
The interaction manager
Type:
Methods
load(path) → {Promise.<(Boolean|DisGroupDevError)>}
Loads one specific select menu interaction
Parameters:
Name | Type | Description |
---|---|---|
path | String | The path to the select menu interaction |
Returns:
- Type:
- Promise.
<(Boolean| DisGroupDevError)>
loadAll() → {Promise.<(Boolean|DisGroupDevError)>}
Loads all select menu interactions
Returns:
- Type:
- Promise.
<(Boolean| DisGroupDevError)>
reload(name) → {Promise.<(Boolean|DisGroupDevError)>}
Reloads one specific select menu interaction
Parameters:
Name | Type | Description |
---|---|---|
name | String | The name of the select menu interaction |
Returns:
- Type:
- Promise.
<(Boolean| DisGroupDevError)>
reloadAll() → {Promise.<(Boolean|DisGroupDevError)>}
Reloads all select menu interactions
Returns:
- Type:
- Promise.
<(Boolean| DisGroupDevError)>
unload(name) → {Promise.<(Boolean|DisGroupDevError)>}
Unloads one specific select menu interaction
Parameters:
Name | Type | Description |
---|---|---|
name | String | The name of the select menu interaction |
Returns:
- Type:
- Promise.
<(Boolean| DisGroupDevError)>
unloadAll() → {Promise.<(Boolean|DisGroupDevError)>}
Unloads all select menu interactions
Returns:
- Type:
- Promise.
<(Boolean| DisGroupDevError)>