Skip to content

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

readonly · private

_cache: Collection

The private cache of items for this manager. Source

holds

readonly · private

holds: function

The data structure belonging to this manager. Source

client

readonly

client: Client

The client that instantiated this Manager Source

Methods

resolve

resolve(emoji: EmojiResolvable): GuildEmoji

Resolves an EmojiResolvable to an Emoji object. Parameters

NameTypeDescription
emojiEmojiResolvableThe Emoji resolvable to identify

Returns: GuildEmojiSource

resolveId

resolveId(emoji: EmojiResolvable): Snowflake

Resolves an EmojiResolvable to an Emoji id string. Parameters

NameTypeDescription
emojiEmojiResolvableThe Emoji resolvable to identify

Returns: SnowflakeSource

resolveIdentifier

resolveIdentifier(emoji: EmojiIdentifierResolvable): string

Resolves an EmojiResolvable to an emoji identifier. Parameters

NameTypeDescription
emojiEmojiIdentifierResolvableThe emoji resolvable to resolve

Returns: stringSource

Unofficial software. Not affiliated with or supported by Discord.