From 5fd8da270277b58eae68c5da25a9aff734aa076e Mon Sep 17 00:00:00 2001 From: mudkipscience Date: Tue, 21 Apr 2020 17:05:40 +1000 Subject: [PATCH] fixed skip command --- src/commands/skip.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/commands/skip.js b/src/commands/skip.js index c997c18..e62db40 100644 --- a/src/commands/skip.js +++ b/src/commands/skip.js @@ -6,9 +6,9 @@ exports.run = (client, message, args, level) => { "<:error:466995152976871434> Nothing is playing." ); - let vc = message.guild.members.cache.get(client.user.id).voiceChannel; + let vc = message.guild.members.cache.get(client.user.id).voice.channel; - if(vc != message.member.voiceChannel) return message.channel.send( + if(vc != message.member.voice.channel) return message.channel.send( '<:error:466995152976871434> You need to be in my voice channel to use this command!' );