mirror of
https://github.com/musix-org/musix-oss
synced 2024-12-23 03:33:17 +00:00
Update seek.js
This commit is contained in:
parent
8f4df31a66
commit
c17baf973a
@ -10,7 +10,7 @@ module.exports = {
|
|||||||
const { voiceChannel } = message.member;
|
const { voiceChannel } = message.member;
|
||||||
let data = await Promise.resolve(ytdl.getInfo(serverQueue.songs[0].url));
|
let data = await Promise.resolve(ytdl.getInfo(serverQueue.songs[0].url));
|
||||||
if (serverQueue) {
|
if (serverQueue) {
|
||||||
if (message.author.id !== client.global.devId) {
|
if (message.author.id !== client.config.devId) {
|
||||||
return message.channel.send(':x: This command is currently disabled!');
|
return message.channel.send(':x: This command is currently disabled!');
|
||||||
if (voiceChannel !== serverQueue.voiceChannel) return message.channel.send(':x: I\'m sorry but you need to be in the same voice channel as Musix to seek the song!');
|
if (voiceChannel !== serverQueue.voiceChannel) return message.channel.send(':x: I\'m sorry but you need to be in the same voice channel as Musix to seek the song!');
|
||||||
if (client.global.db.guilds[message.guild.id].permissions === true) {
|
if (client.global.db.guilds[message.guild.id].permissions === true) {
|
||||||
|
Loading…
Reference in New Issue
Block a user