forked from embee/woomy
fixed skip command
This commit is contained in:
parent
c188356030
commit
5fd8da2702
1 changed files with 2 additions and 2 deletions
|
@ -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!'
|
||||
);
|
||||
|
||||
|
|
Loading…
Reference in a new issue