diff --git a/app.js b/app.js index e1d368e..d22a0da 100644 --- a/app.js +++ b/app.js @@ -159,29 +159,33 @@ const status = (queue) => `Volume: \`${queue.volume}%\` | Loop: \`${queue.repeat client.distube .on("playSong", (queue, song) => { const embed = new MessageEmbed() - .setTitle("<:headphones:879518595602841630> Started Playing") + .setColor("RANDOM") + .setAuthor("Started Playing", `https://raw.githubusercontent.com/HELLSNAKES/Music-Slash-Bot/main/assets/music.gif`) + .setThumbnail(song.thumbnail) .setDescription(`[${song.name}](${song.url})`) - .addField("**Views:**", song.views.toString()) - .addField("<:like:879371469132562552>", song.likes.toString()) - .addField("<:dislike:879371468817973299>", song.dislikes.toString()) - .addField("**Duration:**", song.formattedDuration.toString()) + .addField("**Views:**", song.views.toString(),true) + .addField("**Like:**", song.likes.toString(),true) + .addField("**Dislike:**", song.dislikes.toString(),true) + .addField("**Duration:**", song.formattedDuration.toString(),true) .addField("**Status**", status(queue).toString()) - .setThumbnail(song.thumbnail) - .setColor("RANDOM") + .setFooter(`Requested by ${song.user.username}`, song.user.avatarURL()) + .setTimestamp() queue.textChannel.send({ embeds: [embed] }) }) .on("addSong", (queue, song) => { const embed = new MessageEmbed() - .setTitle("<:addsong:879518595665780746> Added song to queue") + .setTitle(":ballot_box_with_check: | Added song to queue") .setDescription(`\`${song.name}\` - \`${song.formattedDuration}\` - Requested by ${song.user}`) .setColor("RANDOM") + .setTimestamp() queue.textChannel.send({ embeds: [embed] }) }) .on("addList", (queue, playlist) => { const embed = new MessageEmbed() - .setTitle("<:addsong:879518595665780746> Add list") + .setTitle(":ballot_box_with_check: | Add list") .setDescription(`Added \`${playlist.name}\` playlist (${playlist.songs.length} songs) to queue\n${status(queue)}`) .setColor("RANDOM") + .setTimestamp() queue.textChannel.send({ embeds: [embed] }) }) .on("error", (textChannel, e) => { diff --git a/commands/Music/nowplay.js b/commands/Music/nowplay.js index 3a76fe2..7b77a52 100644 --- a/commands/Music/nowplay.js +++ b/commands/Music/nowplay.js @@ -21,15 +21,17 @@ module.exports = { } const song = queue.songs[0] const embed = new Discord.MessageEmbed() - .setTitle("<:headphones:879518595602841630> Now Playing") + .setAuthor("Now Playing", `https://raw.githubusercontent.com/HELLSNAKES/Music-Slash-Bot/main/assets/music.gif`) .setDescription(`[${song.name}](${song.url})`) - .addField("**Views:**", song.views.toString()) - .addField("<:like:879371469132562552>", song.likes.toString()) - .addField("<:dislike:879371468817973299>", song.dislikes.toString()) + .addField("**Views:**", song.views.toString(),true) + .addField("**Like:**", song.likes.toString(),true) + .addField("**Dislike:**", song.dislikes.toString(),true) .addField("**Duration:**", `${queue.formattedCurrentTime} / ${song.formattedDuration}`) .addField("**Status**", status(queue).toString()) .setThumbnail(song.thumbnail) .setColor("RANDOM") + .setFooter(`Requested by ${song.user.username}`, song.user.avatarURL()) + .setTimestamp() return interaction.reply({ embeds: [embed] }) } } diff --git a/package-lock.json b/package-lock.json index 0d2bc8a..9d551c2 100644 --- a/package-lock.json +++ b/package-lock.json @@ -1,12 +1,12 @@ { "name": "music-slash-bot", - "version": "2.0.0", + "version": "3.0.0", "lockfileVersion": 2, "requires": true, "packages": { "": { "name": "music-slash-bot", - "version": "2.0.0", + "version": "3.0.0", "license": "MIT", "dependencies": { "@discordjs/opus": "^0.5.3", diff --git a/package.json b/package.json index 8599e18..4701554 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "music-slash-bot", - "version": "2.0.0", + "version": "3.0.0", "description": "a simple music bot using the slash command", "main": "app.js", "scripts": { diff --git a/version.json b/version.json index dc0c512..60e538a 100644 --- a/version.json +++ b/version.json @@ -1,4 +1,4 @@ { - "version" : "odsa0", + "version" : "xlosa", "note" : "Please do not edit this file" } \ No newline at end of file