diff --git a/src/client/commands/play.js b/src/client/commands/play.js index 661a081..cdbd6b4 100644 --- a/src/client/commands/play.js +++ b/src/client/commands/play.js @@ -14,6 +14,15 @@ module.exports = { category: "radio", async execute(interaction, client) { let message = {}; + + if(client.config.maintenance){ + interaction.reply({ + content: client.messageEmojis["error"] + client.messages.maintenance, + ephemeral: true + }); + return false; + } + if(!client.stations) { message.errorToGetPlaylist = client.messages.errorToGetPlaylist.replace("%client.config.supportGuild%", client.config.supportGuild); return interaction.reply({