BaseGuildEmojiManager
classe · Source
Holds methods to resolve GuildEmojis and stores their cache.
Extends: CachedManager
Properties
cache
cache: Collection<Snowflake, GuildEmoji>
The cache of GuildEmojis Source
_cache
_cache: Collection
The private cache of items for this manager. Source
holds
holds: function
The data structure belonging to this manager. Source
client
client: Client
The client that instantiated this Manager Source
Methods
resolve
resolve(emoji: EmojiResolvable): GuildEmoji
Resolves an EmojiResolvable to an Emoji object. Parameters
| Name | Type | Description |
|---|---|---|
emoji | EmojiResolvable | The Emoji resolvable to identify |
Returns: GuildEmojiSource
resolveId
resolveId(emoji: EmojiResolvable): Snowflake
Resolves an EmojiResolvable to an Emoji id string. Parameters
| Name | Type | Description |
|---|---|---|
emoji | EmojiResolvable | The Emoji resolvable to identify |
Returns: SnowflakeSource
resolveIdentifier
resolveIdentifier(emoji: EmojiIdentifierResolvable): string
Resolves an EmojiResolvable to an emoji identifier. Parameters
| Name | Type | Description |
|---|---|---|
emoji | EmojiIdentifierResolvable | The emoji resolvable to resolve |
Returns: stringSource