mirror of
https://github.com/darksaid98/cadence-discord-bot.git
synced 2026-12-03 22:15:37 +00:00
Merge pull request #37 from mariusbegby/show-channel-name-in-queue
Show channel name in queue
This commit is contained in:
3 files changed
+11
-4
No files matched your search
+2
-1
@@ -35,6 +35,7 @@
|
|||||||
"ignoreComments": true
|
"ignoreComments": true
|
||||||
}
|
}
|
||||||
],
|
],
|
||||||
"curly": ["error", "all"]
|
"curly": ["error", "all"],
|
||||||
|
"no-console": ["error"]
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
@@ -93,7 +93,9 @@ module.exports = {
|
|||||||
embeds: [
|
embeds: [
|
||||||
new EmbedBuilder()
|
new EmbedBuilder()
|
||||||
.setAuthor({
|
.setAuthor({
|
||||||
name: interaction.guild.name,
|
name: `Channel: ${queue.channel.name} (${
|
||||||
|
queue.channel.bitrate / 1000
|
||||||
|
}kbps)`,
|
||||||
iconURL: interaction.guild.iconURL()
|
iconURL: interaction.guild.iconURL()
|
||||||
})
|
})
|
||||||
.setDescription(
|
.setDescription(
|
||||||
|
|||||||
+6
-2
@@ -88,7 +88,9 @@ module.exports = {
|
|||||||
embeds: [
|
embeds: [
|
||||||
new EmbedBuilder()
|
new EmbedBuilder()
|
||||||
.setAuthor({
|
.setAuthor({
|
||||||
name: interaction.guild.name,
|
name: `Channel: ${queue.channel.name} (${
|
||||||
|
queue.channel.bitrate / 1000
|
||||||
|
}kbps)`,
|
||||||
iconURL: interaction.guild.iconURL()
|
iconURL: interaction.guild.iconURL()
|
||||||
})
|
})
|
||||||
.setDescription(`**Queue**\n${queueString}`)
|
.setDescription(`**Queue**\n${queueString}`)
|
||||||
@@ -122,7 +124,9 @@ module.exports = {
|
|||||||
embeds: [
|
embeds: [
|
||||||
new EmbedBuilder()
|
new EmbedBuilder()
|
||||||
.setAuthor({
|
.setAuthor({
|
||||||
name: interaction.guild.name,
|
name: `Channel: ${queue.channel.name} (${
|
||||||
|
queue.channel.bitrate / 1000
|
||||||
|
}kbps)`,
|
||||||
iconURL: interaction.guild.iconURL()
|
iconURL: interaction.guild.iconURL()
|
||||||
})
|
})
|
||||||
.setDescription(
|
.setDescription(
|
||||||
|
|||||||
Reference in new issue
Block a user