Skip to content

Commit

Permalink
deleted boilerplate
Browse files Browse the repository at this point in the history
  • Loading branch information
k4mien committed Feb 1, 2024
1 parent 3cad065 commit 6eb17bb
Show file tree
Hide file tree
Showing 5 changed files with 5 additions and 5 deletions.
2 changes: 1 addition & 1 deletion src/commands/pause.js
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@ module.exports = {
})
}

if ((!player.playing && !player.paused) || !player.queue.current) {
if (!player.queue.current) {
return message.channel.send({
embeds: [
new EmbedBuilder()
Expand Down
2 changes: 1 addition & 1 deletion src/commands/remove.js
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@ module.exports = {
})
}

if ((!player.playing && !player.paused) || !player.queue.current) {
if (!player.queue.current) {
return message.channel.send({
embeds: [
new EmbedBuilder()
Expand Down
2 changes: 1 addition & 1 deletion src/commands/resume.js
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@ module.exports = {
})
}

if (!player.playing && !player.paused) {
if (!player.queue.current) {
return message.channel.send({
embeds: [
new EmbedBuilder()
Expand Down
2 changes: 1 addition & 1 deletion src/commands/skip.js
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@ module.exports = {
})
}

if ((!player.playing && !player.paused) || !player.queue.current) {
if (!player.queue.current) {
return message.channel.send({
embeds: [
new EmbedBuilder()
Expand Down
2 changes: 1 addition & 1 deletion src/commands/skipto.js
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@ module.exports = {
})
}

if ((!player.playing && !player.paused) || !player.queue.current) {
if (!player.queue.current) {
return message.channel.send({
embeds: [
new EmbedBuilder()
Expand Down

0 comments on commit 6eb17bb

Please sign in to comment.