1
0
mirror of https://github.com/musix-org/musix-oss synced 2024-12-22 21:13:18 +00:00

Update settings.js

This commit is contained in:
MatteZ02 2019-10-24 20:23:37 +03:00
parent 7162be204d
commit 54f3b6ca70

View File

@ -86,10 +86,10 @@ module.exports = {
} else if (args[1] === 'announcesongs') { } else if (args[1] === 'announcesongs') {
if (client.global.db.guilds[message.guild.id].startPlaying) { if (client.global.db.guilds[message.guild.id].startPlaying) {
client.global.db.guilds[message.guild.id].startPlaying = false; client.global.db.guilds[message.guild.id].startPlaying = false;
return message.channel.send(':white_check_mark: announcesong set to `false`!'); return message.channel.send(':white_check_mark: announcesongs now set to `false`!');
} else { } else {
client.global.db.guilds[message.guild.id].startPlaying = true; client.global.db.guilds[message.guild.id].startPlaying = true;
return message.channel.send(':white_check_mark: announcesong set to `true`!'); return message.channel.send(':white_check_mark: announcesongs now set to `true`!');
} }
} else { } else {
const embed = new Discord.RichEmbed() const embed = new Discord.RichEmbed()