From c32d592074771007dd65f9aacde543515cdcfa2c Mon Sep 17 00:00:00 2001 From: MatteZ02 <47610069+MatteZ02@users.noreply.github.com> Date: Mon, 18 Nov 2019 20:36:18 +0200 Subject: [PATCH] fixed songSelection setting --- commands/settings/songSelection.js | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/commands/settings/songSelection.js b/commands/settings/songSelection.js index 0e22ce5c..648b28ab 100644 --- a/commands/settings/songSelection.js +++ b/commands/settings/songSelection.js @@ -1,11 +1,11 @@ module.exports = { name: 'songselection', async execute(message, args, client, Discord, prefix) { - if (!client.global.db.guilds[message.guild.id].dj) { + if (!client.global.db.guilds[message.guild.id].songSelection) { message.channel.send(':white_check_mark: Songselection now set to `true`!'); - client.global.db.guilds[message.guild.id].dj = true; + client.global.db.guilds[message.guild.id].songSelection = true; } else { - client.global.db.guilds[message.guild.id].dj = false; + client.global.db.guilds[message.guild.id].songSelection = false; message.channel.send(':white_check_mark: Songselection now set to `false`'); } }