Skip to content

Commit

Permalink
Fix Songs Pause when Queue is shown
Browse files Browse the repository at this point in the history
- remove error logging in slash create, is done globally from bot.js already
  • Loading branch information
TecEash1 committed Oct 20, 2023
1 parent a36a56c commit 2e35d10
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 2 deletions.
1 change: 0 additions & 1 deletion events/slashCreate.js
Original file line number Diff line number Diff line change
Expand Up @@ -70,7 +70,6 @@ module.exports = {
try {
await command.execute(interaction);
} catch (err) {
console.error(err);
await interaction.reply({
content: "There was an issue while executing that command! If the issue persists please contact <@317814254336081930> or <@719815864135712799>",
ephemeral: true,
Expand Down
1 change: 0 additions & 1 deletion interactions/slash/misc/music.js
Original file line number Diff line number Diff line change
Expand Up @@ -151,7 +151,6 @@ module.exports = {
return interaction.reply({ embeds: [embed], ephemeral: true});
}
case "queue":
await queue.pause(voiceChannel);
embed.setColor("Green").setDescription(`${queue.songs.map(
(song, id) => `\n**${id + 1}.** ${song.name} -\` ${song.formattedDuration} \``
)}`);
Expand Down

0 comments on commit 2e35d10

Please sign in to comment.