diff --git a/events/channels/voiceStateUpdate.js b/events/channels/voiceStateUpdate.js index e0ce9a3..5d4b07c 100644 --- a/events/channels/voiceStateUpdate.js +++ b/events/channels/voiceStateUpdate.js @@ -22,9 +22,7 @@ const getChannel = async (member, guildChs, channel) => { owner: member.user.id } }); - if (ownCh !== null) { - return await guildChs.fetch(ownCh.id); - } + if (ownCh !== null) return await guildChs.fetch(ownCh.id); // Create private channel with all permissions const name = member.user.username;