SelectMenuInteractionManager

The select menu interaction manager.

Constructor

new SelectMenuInteractionManager(client, interactionManager)

The constructor of the select menu interaction manager class.

Parameters:
NameTypeDescription
clientClient

The client

interactionManagerInteractionManager

The interaction manager

Members

cache :Collection.<String, SelectMenuInteraction>

The cache with all select menu interactions

Type:

client :Client

The client

Type:
  • Client

manager :InteractionManager

The interaction manager

Methods

load(path) → {Promise.<(Boolean|DisGroupDevError)>}

Loads one specific select menu interaction

Parameters:
NameTypeDescription
pathString

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:
NameTypeDescription
nameString

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:
NameTypeDescription
nameString

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)>