dist/cache/VoiceStateCache.js
/**
     * Remove a VoiceState from the cache
     * @param id discord id of the user
     * @param guildId guild id
     */
Remove a VoiceState from the cache
@param id discord id of the user
@param guildId guild id
Remove a VoiceState from the cache @param id discord id of the user @param guildId guild id
async remove(id = (_a = this.boundObject) === null || _a === void 0 ? void 0 : _a.user_id, guildId) {
        var _a, _b;
        const state = await this.get(id, guildId);
        if (state) {
            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 = ( _a = this . boundObject ) === null || _a === void 0 ? void 0 : _a . user_id , guildId ) { var _a , _b ; const state = await this . get ( id , guildId ) ; if ( state ) { 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 VoiceState from the cache
 @param id discord id of the user
 @param guildId guild id
Remove a VoiceState from the cache @param id discord id of the user @param guildId guild id