aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--Commands/next.js4
-rw-r--r--Commands/previous.js4
-rw-r--r--Locales/custom/translation.json3
-rw-r--r--Utilities/Voting.js4
4 files changed, 6 insertions, 9 deletions
diff --git a/Commands/next.js b/Commands/next.js
index f082c89..082bf25 100644
--- a/Commands/next.js
+++ b/Commands/next.js
@@ -26,9 +26,9 @@ export default {
data: new SlashCommandBuilder()
.setName('next')
.setDescription('Goes to next music')
- .addSubcommand(subcommand =>
+ /* .addSubcommand(subcommand =>
subcommand.setName('vote')
- .setDescription('Voting to skip this audio track'))
+ .setDescription('Voting to skip this audio track')) */
.addSubcommand(subcommand =>
subcommand.setName('force')
.setDescription('Forces skip this audio track')),
diff --git a/Commands/previous.js b/Commands/previous.js
index aa732b2..5acca47 100644
--- a/Commands/previous.js
+++ b/Commands/previous.js
@@ -26,9 +26,9 @@ export default {
data: new SlashCommandBuilder()
.setName('previous')
.setDescription('Goes to previous music')
- .addSubcommand(subcommand =>
+ /* .addSubcommand(subcommand =>
subcommand.setName('vote')
- .setDescription('Voting to skip this audio track'))
+ .setDescription('Voting to skip this audio track')) */
.addSubcommand(subcommand =>
subcommand.setName('force')
.setDescription('Forces skip this audio track')),
diff --git a/Locales/custom/translation.json b/Locales/custom/translation.json
deleted file mode 100644
index f86d2ad..0000000
--- a/Locales/custom/translation.json
+++ /dev/null
@@ -1,3 +0,0 @@
-{
- "botReady": "Bot is ready!"
-}
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...');