added songselection setting

This commit is contained in:
MatteZ02 committed 2019-11-14 20:23:51 +02:00
1 parent 1190bd7de3
commit 79a53ecb03
2 files changed
+13

No files matched your search

+12
View File
@@ -0,0 +1,12 @@
module.exports = {
name: 'songselection',
async execute(message, args, client, Discord, prefix) {
if (!client.global.db.guilds[message.guild.id].dj) {
message.channel.send(':white_check_mark: Songselection now set to `true`!');
client.global.db.guilds[message.guild.id].dj = true;
} else {
client.global.db.guilds[message.guild.id].dj = false;
message.channel.send(':white_check_mark: Songselection now set to `false`');
}
}
};