aboutsummaryrefslogtreecommitdiff
path: root/Utilities/Voting.js
diff options
context:
space:
mode:
Diffstat (limited to 'Utilities/Voting.js')
-rw-r--r--Utilities/Voting.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/Utilities/Voting.js b/Utilities/Voting.js
index 5bea29c..0d986b8 100644
--- a/Utilities/Voting.js
+++ b/Utilities/Voting.js
@@ -60,7 +60,7 @@ export async function voteSkip(interaction, bot) {
const members = voiceChannel.members.filter(m => !votes.has(m.id));
// Calculate the number of votes required to skip the audio track
- const votesRequired = Math.ceil((members.size - votes.size) / 2);
+ const votesRequired = Math.ceil(members.size / 2);
// Check if the message author has already voted
if (votes.has(interaction.user.id)) {