mirror of
https://github.com/darksaid98/cadence-discord-bot.git
synced 2026-12-03 22:15:37 +00:00
fix: Updated user messages for /filter command
This commit is contained in:
1 parent
f36b4d9668
commit
430e66a1a3
1 file changed
+8
-5
+8
-5
@@ -25,7 +25,7 @@ module.exports = {
|
|||||||
embeds: [
|
embeds: [
|
||||||
new EmbedBuilder()
|
new EmbedBuilder()
|
||||||
.setDescription(
|
.setDescription(
|
||||||
'**Failed**\nYou need to be in a voice channel to use this command.'
|
`**${embedIcons.warning} Oops!**\nYou need to be in a voice channel to use this command.`
|
||||||
)
|
)
|
||||||
.setColor(embedColors.colorWarning)
|
.setColor(embedColors.colorWarning)
|
||||||
]
|
]
|
||||||
@@ -39,7 +39,7 @@ module.exports = {
|
|||||||
embeds: [
|
embeds: [
|
||||||
new EmbedBuilder()
|
new EmbedBuilder()
|
||||||
.setDescription(
|
.setDescription(
|
||||||
'**Failed**\nThere are no tracks in the queue. Add tracks with `/play`!'
|
`**${embedIcons.warning} Oops!**\nThere are no tracks in the queue. First add some tracks with \`/play\`!`
|
||||||
)
|
)
|
||||||
.setColor(embedColors.colorWarning)
|
.setColor(embedColors.colorWarning)
|
||||||
]
|
]
|
||||||
@@ -81,13 +81,14 @@ module.exports = {
|
|||||||
.setCustomId('disable-filters')
|
.setCustomId('disable-filters')
|
||||||
.setLabel('Disable all filters')
|
.setLabel('Disable all filters')
|
||||||
.setStyle('Secondary')
|
.setStyle('Secondary')
|
||||||
|
.setEmoji(embedIcons.disable)
|
||||||
);
|
);
|
||||||
|
|
||||||
const response = await interaction.editReply({
|
const response = await interaction.editReply({
|
||||||
embeds: [
|
embeds: [
|
||||||
new EmbedBuilder()
|
new EmbedBuilder()
|
||||||
.setDescription(
|
.setDescription(
|
||||||
`**Toggle filters** ${embedIcons.beta}\nToggle or disable audio filters for playback.`
|
`**Toggle filters** ${embedIcons.beta}\nEnable or disable audio filters for playback from the menu.`
|
||||||
)
|
)
|
||||||
.setColor(embedColors.colorInfo)
|
.setColor(embedColors.colorInfo)
|
||||||
],
|
],
|
||||||
@@ -132,7 +133,7 @@ module.exports = {
|
|||||||
iconURL: interaction.user.avatarURL()
|
iconURL: interaction.user.avatarURL()
|
||||||
})
|
})
|
||||||
.setDescription(
|
.setDescription(
|
||||||
'**Disabled filters**\nDisabled all audio filters.'
|
`**${embedIcons.success} Disabled filters**\nAll audio filters have been disabled.`
|
||||||
)
|
)
|
||||||
.setColor(embedColors.colorSuccess)
|
.setColor(embedColors.colorSuccess)
|
||||||
],
|
],
|
||||||
@@ -151,7 +152,9 @@ module.exports = {
|
|||||||
iconURL: interaction.user.avatarURL()
|
iconURL: interaction.user.avatarURL()
|
||||||
})
|
})
|
||||||
.setDescription(
|
.setDescription(
|
||||||
`**Filters enabled**\nThese filters are now enabled:\n${confirmation.values
|
`**${
|
||||||
|
embedIcons.success
|
||||||
|
} Filters toggled**\nNow using these filters:\n${confirmation.values
|
||||||
.map(
|
.map(
|
||||||
(enabled) =>
|
(enabled) =>
|
||||||
`\`${
|
`\`${
|
||||||
|
|||||||
Reference in new issue
Block a user