dist/cache/MemberCache.js
/**
     * Remove a member from the cache
     * @param id id of the member
     * @param guildId id of the guild of the member, defaults to the bound guild of the cache
     */
Remove a member from the cache
@param id id of the member
@param guildId id of the guild of the member, defaults to the bound guild of the cache
Remove a member from the cache @param id id of the member @param guildId id of the guild of the member defaults to the bound guild of the cache
async remove(id, guildId = this.boundGuild) {
        var _a, _b;
        const member = await ((_a = this.storageEngine) === null || _a === void 0 ? void 0 : _a.get(this.buildId(id, guildId)));
        if (member) {
            await this.removeFromIndex(id, guildId);
            return (_b = this.storageEngine) === null || _b === void 0 ? void 0 : _b.remove(this.buildId(id, guildId));
        }
        else {
            return undefined;
        }
    }
async remove ( id , guildId = this . boundGuild ) { var _a , _b ; const member = await ( ( _a = this . storageEngine ) === null || _a === void 0 ? void 0 : _a . get ( this . buildId ( id , guildId ) ) ) ; if ( member ) { await this . removeFromIndex ( id , guildId ) ; return ( _b = this . storageEngine ) === null || _b === void 0 ? void 0 : _b . remove ( this . buildId ( id , guildId ) ) ; } else { return undefined ; } }
Remove a member from the cache
 @param id id of the member
 @param guildId id of the guild of the member, defaults to the bound guild of the cache
Remove a member from the cache @param id id of the member @param guildId id of the guild of the member defaults to the bound guild of the cache