2019-11-14 18:23:51 +00:00
|
|
|
module.exports = {
|
|
|
|
name: 'songselection',
|
2024-02-09 09:53:30 +00:00
|
|
|
async execute(message, args, client, prefix) {
|
2019-11-18 18:36:18 +00:00
|
|
|
if (!client.global.db.guilds[message.guild.id].songSelection) {
|
2019-11-14 18:23:51 +00:00
|
|
|
message.channel.send(':white_check_mark: Songselection now set to `true`!');
|
2019-11-18 18:36:18 +00:00
|
|
|
client.global.db.guilds[message.guild.id].songSelection = true;
|
2019-11-14 18:23:51 +00:00
|
|
|
} else {
|
2019-11-18 18:36:18 +00:00
|
|
|
client.global.db.guilds[message.guild.id].songSelection = false;
|
2019-11-14 18:23:51 +00:00
|
|
|
message.channel.send(':white_check_mark: Songselection now set to `false`');
|
|
|
|
}
|
|
|
|
}
|
2024-02-09 09:53:30 +00:00
|
|
|
};
|