mirror of
https://github.com/musix-org/musix-oss
synced 2025-06-16 18:56:00 +00:00
some fixes and updates
This commit is contained in:
@ -36,7 +36,7 @@ function getCommand(client, args, msg, Discord) {
|
||||
);
|
||||
if (!command) return;
|
||||
if (command.onlyDev && msg.author.id !== client.config.devId) return;
|
||||
if (client.config.devMode && msg.member.id !== client.config.devId)
|
||||
if (client.config.devMode && msg.member.id !== client.config.devId && msg.guild.id !== "718081535240306738")
|
||||
return msg.channel.send(client.messages.devMode);
|
||||
client.funcs.exe(msg, args, client, Discord, command);
|
||||
}
|
@ -19,9 +19,6 @@ module.exports = {
|
||||
}
|
||||
}
|
||||
if (oldState.channel.members.size === 1 && oldState.channel === queue.voiceChannel || change) {
|
||||
queue.textChannel.send(client.messages.leftAlonePaused);
|
||||
queue.paused = true;
|
||||
queue.connection.dispatcher.pause(true);
|
||||
setTimeout(() => {
|
||||
if (!queue || !queue.connection.dispatcher || queue.connection.dispatcher === null) return;
|
||||
if (queue.voiceChannel.members.size === 1) {
|
||||
|
Reference in New Issue
Block a user