Update check function

This commit is contained in:
Christer Warén 2021-09-16 05:17:33 +03:00
parent 5ee30b1782
commit 9ecdbc2bee

View File

@ -9,7 +9,7 @@ module.exports = function check(client, interaction, command) {
});
return false;
}
if(!client.stations.list) {
if(!client.stations) {
message.errorToGetPlaylist = client.messages.errorToGetPlaylist.replace("%client.config.supportGuild%", client.config.supportGuild);
interaction.reply({
content: client.messageEmojis["error"] + message.errorToGetPlaylist,