dist/cache/EmojiCache.js
/**
     * Find an emoji by providing a filter function which returns true upon success and false otherwise
     * @param fn filter function to use for filtering for a single emoji
     * @param guildId id of the guild the emojis searched belong to
     * @param ids
     * @returns bound emoji cache
     */
Find an emoji by providing a filter function which returns true upon success and false otherwise
@param fn filter function to use for filtering for a single emoji
@param guildId id of the guild the emojis searched belong to
@param ids
@returns bound emoji cache
Find an emoji by providing a filter function which returns true upon success and false otherwise @param fn filter function to use for filtering for a single emoji @param guildId id of the guild the emojis searched belong to @param ids @returns bound emoji cache
async find(fn, guildId, ids) {
        var _a;
        if (!guildId && this.boundGuild)
            guildId = this.boundGuild;
        const emoji = await ((_a = this.storageEngine) === null || _a === void 0 ? void 0 : _a.find(fn, ids, super.buildId(guildId)));
        if (!emoji)
            return null;
        return new EmojiCache(this.storageEngine, this.rain, emoji);
    }
async find ( fn , guildId , ids ) { var _a ; if ( ! guildId && this . boundGuild ) guildId = this . boundGuild ; const emoji = await ( ( _a = this . storageEngine ) === null || _a === void 0 ? void 0 : _a . find ( fn , ids , super . buildId ( guildId ) ) ) ; if ( ! emoji ) return null ; return new EmojiCache ( this . storageEngine , this . rain , emoji ) ; }
Find an emoji by providing a filter function which returns true upon success and false otherwise
 @param fn filter function to use for filtering for a single emoji
 @param guildId id of the guild the emojis searched belong to
 @param ids
 @returns bound emoji cache
Find an emoji by providing a filter function which returns true upon success and false otherwise @param fn filter function to use for filtering for a single emoji @param guildId id of the guild the emojis searched belong to @param ids @returns bound emoji cache