diff --git a/.eslintrc.json b/.eslintrc.json index 30d2bee..8967c60 100644 --- a/.eslintrc.json +++ b/.eslintrc.json @@ -35,6 +35,7 @@ "ignoreComments": true } ], - "curly": ["error", "all"] + "curly": ["error", "all"], + "no-console": ["error"] } } diff --git a/commands/nowplaying.js b/commands/nowplaying.js index 55e525c..c4882bd 100644 --- a/commands/nowplaying.js +++ b/commands/nowplaying.js @@ -93,7 +93,9 @@ module.exports = { embeds: [ new EmbedBuilder() .setAuthor({ - name: interaction.guild.name, + name: `Channel: ${queue.channel.name} (${ + queue.channel.bitrate / 1000 + }kbps)`, iconURL: interaction.guild.iconURL() }) .setDescription( diff --git a/commands/queue.js b/commands/queue.js index a22a452..50e0b95 100644 --- a/commands/queue.js +++ b/commands/queue.js @@ -88,7 +88,9 @@ module.exports = { embeds: [ new EmbedBuilder() .setAuthor({ - name: interaction.guild.name, + name: `Channel: ${queue.channel.name} (${ + queue.channel.bitrate / 1000 + }kbps)`, iconURL: interaction.guild.iconURL() }) .setDescription(`**Queue**\n${queueString}`) @@ -122,7 +124,9 @@ module.exports = { embeds: [ new EmbedBuilder() .setAuthor({ - name: interaction.guild.name, + name: `Channel: ${queue.channel.name} (${ + queue.channel.bitrate / 1000 + }kbps)`, iconURL: interaction.guild.iconURL() }) .setDescription(