mirror of
https://github.com/darksaid98/cadence-discord-bot.git
synced 2026-12-04 22:15:29 +00:00
fix: update user reply with info about /play on empty queue
This commit is contained in:
1 parent
4904b61142
commit
37f16a51fd
6 files changed
+6
-6
No files matched your search
+1
-1
@@ -37,7 +37,7 @@ module.exports = {
|
|||||||
embeds: [
|
embeds: [
|
||||||
new EmbedBuilder()
|
new EmbedBuilder()
|
||||||
.setDescription(
|
.setDescription(
|
||||||
`**Failed**\nThere are no tracks in the queue.`
|
`**Failed**\nThere are no tracks in the queue. Add tracks with \`/play\`!`
|
||||||
)
|
)
|
||||||
.setColor(embedColors.colorWarning)
|
.setColor(embedColors.colorWarning)
|
||||||
]
|
]
|
||||||
|
|||||||
+1
-1
@@ -27,7 +27,7 @@ module.exports = {
|
|||||||
embeds: [
|
embeds: [
|
||||||
new EmbedBuilder()
|
new EmbedBuilder()
|
||||||
.setDescription(
|
.setDescription(
|
||||||
`**Failed**\nThere are no tracks in the queue.`
|
`**Failed**\nThere are no tracks in the queue. Add tracks with \`/play\`!`
|
||||||
)
|
)
|
||||||
.setColor(embedColors.colorWarning)
|
.setColor(embedColors.colorWarning)
|
||||||
]
|
]
|
||||||
|
|||||||
+1
-1
@@ -30,7 +30,7 @@ module.exports = {
|
|||||||
let queueString = '';
|
let queueString = '';
|
||||||
|
|
||||||
if (!queue) {
|
if (!queue) {
|
||||||
queueString = 'There are no tracks in the queue.';
|
queueString = 'There are no tracks in the queue. Add tracks with \`/play\`!';
|
||||||
return await interaction.editReply({
|
return await interaction.editReply({
|
||||||
embeds: [
|
embeds: [
|
||||||
new EmbedBuilder()
|
new EmbedBuilder()
|
||||||
|
|||||||
+1
-1
@@ -34,7 +34,7 @@ module.exports = {
|
|||||||
embeds: [
|
embeds: [
|
||||||
new EmbedBuilder()
|
new EmbedBuilder()
|
||||||
.setDescription(
|
.setDescription(
|
||||||
`**Failed**\nThere are no tracks in the queue.`
|
`**Failed**\nThere are no tracks in the queue. Add tracks with \`/play\`!`
|
||||||
)
|
)
|
||||||
.setColor(embedColors.colorWarning)
|
.setColor(embedColors.colorWarning)
|
||||||
]
|
]
|
||||||
|
|||||||
+1
-1
@@ -35,7 +35,7 @@ module.exports = {
|
|||||||
embeds: [
|
embeds: [
|
||||||
new EmbedBuilder()
|
new EmbedBuilder()
|
||||||
.setDescription(
|
.setDescription(
|
||||||
`**Failed**\nThere are no tracks in the queue.`
|
`**Failed**\nThere are no tracks in the queue. Add tracks with \`/play\`!`
|
||||||
)
|
)
|
||||||
.setColor(embedColors.colorWarning)
|
.setColor(embedColors.colorWarning)
|
||||||
]
|
]
|
||||||
|
|||||||
+1
-1
@@ -34,7 +34,7 @@ module.exports = {
|
|||||||
embeds: [
|
embeds: [
|
||||||
new EmbedBuilder()
|
new EmbedBuilder()
|
||||||
.setDescription(
|
.setDescription(
|
||||||
`**Failed**\nThere are no tracks playing or in the queue.`
|
`**Failed**\nThere are no tracks playing or in the queue. Add tracks with \`/play\`!`
|
||||||
)
|
)
|
||||||
.setColor(embedColors.colorWarning)
|
.setColor(embedColors.colorWarning)
|
||||||
]
|
]
|
||||||
|
|||||||
Reference in new issue
Block a user