mirror of
https://github.com/warengroup/eximiabots-radiox.git
synced 2024-11-09 23:00:18 +00:00
Fixed check function
This commit is contained in:
parent
b280981e1c
commit
479c0ee13d
@ -4,10 +4,11 @@ module.exports = function (client, interaction, command) {
|
||||
const permissions = interaction.channel.permissionsFor(interaction.user);
|
||||
if(!client.stations) {
|
||||
message.errorToGetPlaylist = client.messages.errorToGetPlaylist.replace("%client.config.supportGuild%", client.config.supportGuild);
|
||||
return interaction.reply({
|
||||
interaction.reply({
|
||||
content: client.messageEmojis["error"] + message.errorToGetPlaylist,
|
||||
ephemeral: true
|
||||
});
|
||||
return false;
|
||||
}
|
||||
if (!radio) {
|
||||
interaction.reply({
|
||||
|
Loading…
Reference in New Issue
Block a user