aboutsummaryrefslogtreecommitdiff
path: root/Utilities
diff options
context:
space:
mode:
authorAndrew Lee <alee14498@protonmail.com>2022-12-21 20:37:09 -0500
committerAndrew Lee <alee14498@protonmail.com>2022-12-21 20:37:09 -0500
commit4f5a9747dc9b0ce0a9206b311dda3590b179df0b (patch)
tree9ee14fb2d8bdc596e4719f173aa63439a92e1561 /Utilities
parente2582087e23c509b22bc255c9e5e4b5e11696a26 (diff)
downloadDLAP-4f5a9747dc9b0ce0a9206b311dda3590b179df0b.tar.gz
DLAP-4f5a9747dc9b0ce0a9206b311dda3590b179df0b.tar.bz2
DLAP-4f5a9747dc9b0ce0a9206b311dda3590b179df0b.zip
Temporary removed voting system
Diffstat (limited to 'Utilities')
-rw-r--r--Utilities/Voting.js4
1 files changed, 2 insertions, 2 deletions
diff --git a/Utilities/Voting.js b/Utilities/Voting.js
index c737339..ad9b656 100644
--- a/Utilities/Voting.js
+++ b/Utilities/Voting.js
@@ -37,7 +37,7 @@ async function commandCheck(interaction, bot) {
}
}
-export async function voteSkip(interaction, bot) {
+export async function voteSkip(interaction, bot) { /*
if (interaction.commandName === 'next') {
if (nextCheck !== true) {
// Reset the votes if the current value of nextCheck is different from the command being executed
@@ -83,7 +83,7 @@ export async function voteSkip(interaction, bot) {
return await interaction.reply({ content: 'Cannot play next music. Player is currently stopped...', ephemeral: true });
}
}
-
+*/
if (interaction.options.getSubcommand() === 'force') {
if (!interaction.member.roles.cache.has(djRole) && interaction.user.id !== ownerID && !interaction.member.permission.has(PermissionFlagsBits.ManageGuild)) return interaction.reply({ content: 'You need a specific role to execute this command', ephemeral: true });
console.log('Force skipping this audio track...');