From 90c7c667e467e6e4ff6b98c5805ded5d84ff0db3 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Christer=20War=C3=A9n?= Date: Thu, 16 Sep 2021 04:53:31 +0300 Subject: [PATCH] Update check function --- src/client/funcs/check.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/client/funcs/check.js b/src/client/funcs/check.js index 4a5a216..50ef509 100644 --- a/src/client/funcs/check.js +++ b/src/client/funcs/check.js @@ -9,7 +9,7 @@ module.exports = function check(client, interaction, command) { }); return false; } - if(!client.stations) { + if(!client.stations.list) { message.errorToGetPlaylist = client.messages.errorToGetPlaylist.replace("%client.config.supportGuild%", client.config.supportGuild); interaction.reply({ content: client.messageEmojis["error"] + message.errorToGetPlaylist,