mirror of
https://github.com/warengroup/eximiabots-radiox.git
synced 2024-12-23 09:53:18 +00:00
Update check function
This commit is contained in:
parent
5ee30b1782
commit
9ecdbc2bee
@ -9,7 +9,7 @@ module.exports = function check(client, interaction, command) {
|
|||||||
});
|
});
|
||||||
return false;
|
return false;
|
||||||
}
|
}
|
||||||
if(!client.stations.list) {
|
if(!client.stations) {
|
||||||
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,
|
||||||
|
Loading…
Reference in New Issue
Block a user