Removed quote detection from normal arguments

This commit is contained in:
Essem 2021-07-08 21:03:19 -05:00
parent 0483e68016
commit bc2826ccbb
No known key found for this signature in database
GPG key ID: 7D497397CC3A2A8C
2 changed files with 1 additions and 10 deletions

View file

@ -3,6 +3,7 @@ const AwaitRejoin = require("../utils/awaitrejoin.js");
const { random } = require("../utils/misc.js");
module.exports = async (client, cluster, worker, ipc, member, oldChannel) => {
if (!oldChannel) return;
const connection = soundPlayer.players.get(oldChannel.guild.id);
if (connection && connection.type === "music" && oldChannel.id === connection.voiceChannel.id) {
if (oldChannel.voiceMembers.filter((i) => i.id !== client.user.id).length === 0) {