mirror of
https://github.com/musix-org/musix-oss
synced 2024-12-22 21:13:18 +00:00
13 lines
536 B
JavaScript
13 lines
536 B
JavaScript
module.exports = {
|
|
name: 'songselection',
|
|
async execute(message, args, client, prefix) {
|
|
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].songSelection = true;
|
|
} else {
|
|
client.global.db.guilds[message.guild.id].songSelection = false;
|
|
message.channel.send(':white_check_mark: Songselection now set to `false`');
|
|
}
|
|
}
|
|
};
|