dist/cache/UserCache.js
/**
     * Remove a user from the cache
     * @param id discord id of the user
     */
Remove a user from the cache
@param id discord id of the user
Remove a user from the cache @param id discord id of the user
async remove(id = (_a = this.boundObject) === null || _a === void 0 ? void 0 : _a.id) {
        var _a, _b, _c;
        const user = await ((_b = this.storageEngine) === null || _b === void 0 ? void 0 : _b.get(this.buildId(id)));
        if (user) {
            await this.removeFromIndex(id);
            return (_c = this.storageEngine) === null || _c === void 0 ? void 0 : _c.remove(this.buildId(id));
        }
        else {
            return undefined;
        }
    }
async remove ( id = ( _a = this . boundObject ) === null || _a === void 0 ? void 0 : _a . id ) { var _a , _b , _c ; const user = await ( ( _b = this . storageEngine ) === null || _b === void 0 ? void 0 : _b . get ( this . buildId ( id ) ) ) ; if ( user ) { await this . removeFromIndex ( id ) ; return ( _c = this . storageEngine ) === null || _c === void 0 ? void 0 : _c . remove ( this . buildId ( id ) ) ; } else { return undefined ; } }
Remove a user from the cache
 @param id discord id of the user
Remove a user from the cache @param id discord id of the user