BaseGuildEmojiManager

export class BaseGuildEmojiManager extends CachedManager<Snowflake, GuildEmoji, EmojiResolvable>
export class BaseGuildEmojiManager extends CachedManager<Snowflake, GuildEmoji, EmojiResolvable>
Holds methods to resolve GuildEmojis and stores their cache.
constructor(client, iterable?)
Constructs a new instance of the BaseGuildEmojiManager class
NameTypeOptionalDescription
clientClient<true>NoNone
iterableIterable<RawGuildEmojiData>YesNone
Readonly
cache:Collection<K, Holds>
The cache of items for this manager.
Inherited from DataManager
Readonly
client:Client
The client that instantiated this Manager
Inherited from BaseManager
Readonly
holds:Constructable<Holds>
The data structure belonging to this manager.
Inherited from DataManager
resolve(idOrInstance):Holds
Resolves a data entry to a data Object.
Returns
An instance from this Manager
NameTypeOptionalDescription
idOrInstanceHoldsNoThe id or instance of something in this Manager
resolveId(idOrInstance):K
Resolves a data entry to an instance id.
Returns
NameTypeOptionalDescription
idOrInstanceK | HoldsNoThe id or instance of something in this Manager
resolveIdentifier(emoji):string | null
Resolves an EmojiResolvable to an emoji identifier.
Returns
NameTypeOptionalDescription
emojiEmojiIdentifierResolvableNoThe emoji resolvable to resolve
valueOf():Collection<K, Holds>