mirror of
https://github.com/musix-org/musix-oss
synced 2024-12-22 21:13:18 +00:00
fixed songSelection setting
This commit is contained in:
parent
79a53ecb03
commit
c32d592074
@ -1,11 +1,11 @@
|
|||||||
module.exports = {
|
module.exports = {
|
||||||
name: 'songselection',
|
name: 'songselection',
|
||||||
async execute(message, args, client, Discord, prefix) {
|
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`!');
|
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 {
|
} 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`');
|
message.channel.send(':white_check_mark: Songselection now set to `false`');
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user