diff --git a/package-lock.json b/package-lock.json index 28a7fa2..079efd4 100644 --- a/package-lock.json +++ b/package-lock.json @@ -1,12 +1,12 @@ { "name": "eximiabots-radiox", - "version": "0.3.2", + "version": "0.3.3", "lockfileVersion": 2, "requires": true, "packages": { "": { "name": "eximiabots-radiox", - "version": "0.3.2", + "version": "0.3.3", "license": "MIT", "dependencies": { "@discordjs/builders": "^0.6.0", diff --git a/package.json b/package.json index 3f49030..f37e0b7 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "eximiabots-radiox", - "version": "0.3.2", + "version": "0.3.3", "description": "Internet Radio to your Discord guild", "main": "index.js", "scripts": { diff --git a/src/client/commands/bug.js b/src/client/commands/bug.js index 78237ce..11a19c0 100644 --- a/src/client/commands/bug.js +++ b/src/client/commands/bug.js @@ -9,7 +9,7 @@ module.exports = { let message = {}; message.bugTitle = client.messages.bugTitle.replace("%client.user.username%", client.user.username); - message.bugDescription = message.bugDescription.replace("%client.config.supportGuild%", client.config.supportGuild); + message.bugDescription = client.messages.bugDescription.replace("%client.config.supportGuild%", client.config.supportGuild); const embed = new Discord.MessageEmbed() .setTitle(message.bugTitle) diff --git a/src/client/commands/nowplaying.js b/src/client/commands/nowplaying.js index 3472d44..7a59e38 100644 --- a/src/client/commands/nowplaying.js +++ b/src/client/commands/nowplaying.js @@ -8,10 +8,16 @@ module.exports = { async execute(interaction, client, Discord, command) { let message = {}; const radio = client.radio.get(interaction.guild.id); - if (!radio) return interaction.reply('There is nothing playing.'); + if (!radio) return interaction.reply({ + content: 'There is nothing playing.', + ephemeral: true + }); if(!client.stations) { message.errorToGetPlaylist = client.messages.errorToGetPlaylist.replace("%client.config.supportGuild%", client.config.supportGuild); - return interaction.reply(client.messageEmojis["error"] + message.errorToGetPlaylist); + return interaction.reply({ + content: client.messageEmojis["error"] + message.errorToGetPlaylist, + ephemeral: true + }); } let date = new Date();