mirror of
https://github.com/musix-org/musix-oss
synced 2024-12-23 13:03:18 +00:00
a64f9d2325
All messages reworked.
12 lines
491 B
JavaScript
12 lines
491 B
JavaScript
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(client.messages.announceSongsFalse);
|
|
} else {
|
|
client.global.db.guilds[msg.guild.id].startPlaying = true;
|
|
return msg.channel.send(client.messages.announceSongsTrue);
|
|
}
|
|
}
|
|
}; |