Extends
Members
cache :Collection.<(string|Snowflake), MessageReaction>
The reaction cache of this manager
Type:
- Collection.<(string|Snowflake), MessageReaction>
- Overrides:
- Source:
cacheType :Collection
The type of Collection of the Manager
Type:
- Collection
- Overrides:
- Source:
(readonly) client :Client
The client that instantiated this Manager
Type:
- Overrides:
- Source:
(private, readonly) holds :function
The data structure belonging to this manager
Type:
- function
- Overrides:
- Source:
message :Message
The message that this manager belongs to
Type:
- Source:
Methods
removeAll() → {Promise.<Message>}
Removes all reactions from a message.
- Source:
Returns:
- Type
- Promise.<Message>
resolve(reaction) → {MessageReaction}
Resolves a MessageReactionResolvable to a MessageReaction object.
Parameters:
Name | Type | Description |
---|---|---|
reaction |
MessageReactionResolvable | The MessageReaction to resolve |
- Overrides:
- Source:
Returns:
- Type
- MessageReaction
resolveID(reaction) → {Snowflake}
Resolves a MessageReactionResolvable to a MessageReaction ID string.
Parameters:
Name | Type | Description |
---|---|---|
reaction |
MessageReactionResolvable | The MessageReaction to resolve |
- Overrides:
- Source:
Returns:
- Type
- Snowflake