Update check function

This commit is contained in:
Christer Warén 2021-09-16 04:53:31 +03:00
parent 062a163a11
commit 90c7c667e4

View File

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