mirror of
https://github.com/musix-org/musix-oss
synced 2025-07-07 04:20:49 +00:00
Init
This commit is contained in:
12
src/commands/settings/announcesongs.js
Normal file
12
src/commands/settings/announcesongs.js
Normal file
@ -0,0 +1,12 @@
|
||||
module.exports = {
|
||||
name: 'announcesongs',
|
||||
async execute(msg, args, client, Discord, prefix) {
|
||||
if (client.global.db.guilds[msg.guild.id].startPlaying) {
|
||||
client.global.db.guilds[msg.guild.id].startPlaying = false;
|
||||
return msg.channel.send('<:green_check_mark:674265384777416705> announcesongs now set to `false`!');
|
||||
} else {
|
||||
client.global.db.guilds[msg.guild.id].startPlaying = true;
|
||||
return msg.channel.send('<:green_check_mark:674265384777416705> announcesongs now set to `true`!');
|
||||
}
|
||||
}
|
||||
};
|
Reference in New Issue
Block a user