Skip to content
This repository has been archived by the owner on Sep 3, 2024. It is now read-only.

Commit

Permalink
feat: Show channel name and bitrate in queue/nowplaying
Browse files Browse the repository at this point in the history
  • Loading branch information
mariusbegby committed Jul 13, 2023
1 parent 2b0577d commit 32bd63b
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 3 deletions.
4 changes: 3 additions & 1 deletion commands/nowplaying.js
Original file line number Diff line number Diff line change
Expand Up @@ -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(
Expand Down
8 changes: 6 additions & 2 deletions commands/queue.js
Original file line number Diff line number Diff line change
Expand Up @@ -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}`)
Expand Down Expand Up @@ -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(
Expand Down

0 comments on commit 32bd63b

Please # to comment.