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

Commit

Permalink
fix: Updated user messages for /leave command
Browse files Browse the repository at this point in the history
  • Loading branch information
mariusbegby committed Jul 14, 2023
1 parent 0aa810a commit 5b214ba
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions commands/leave.js
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
const { SlashCommandBuilder } = require('@discordjs/builders');
const { useQueue } = require('discord-player');
const { EmbedBuilder } = require('discord.js');
const { embedColors } = require('../config.json');
const { embedColors, embedIcons } = require('../config.json');

module.exports = {
data: new SlashCommandBuilder()
Expand All @@ -18,7 +18,7 @@ module.exports = {
embeds: [
new EmbedBuilder()
.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)
]
Expand All @@ -32,7 +32,7 @@ module.exports = {
embeds: [
new EmbedBuilder()
.setDescription(
'**Failed**\nNo tracks are currently playing, and the queue is empty. Use the `/play` command to play some music!'
`**${embedIcons.warning} Oops!**\n_Hmm.._ It seems I am already not in a voice channel!`
)
.setColor(embedColors.colorWarning)
]
Expand All @@ -46,7 +46,7 @@ module.exports = {
embeds: [
new EmbedBuilder()
.setDescription(
'**Leaving**\nCleared the track queue and left voice channel. To play more music, use the `/play` command!'
`**${embedIcons.success} Leaving**\nCleared the track queue and left voice channel. To play more music, use the \`/play\` command!`
)
.setColor(embedColors.colorSuccess)
]
Expand Down

0 comments on commit 5b214ba

Please sign in to comment.