feat: Updated /help command to be dynamic

This commit is contained in:
Marius Begby committed 2023-07-23 14:55:53 +02:00
1 parent 6af04f7b5c
commit b95a652f1c
15 files changed
+87 -13

No files matched your search

+3
View File
@@ -5,10 +5,13 @@ const { SlashCommandBuilder, EmbedBuilder } = require('discord.js');
const { useQueue } = require('discord-player');
module.exports = {
isNew: false,
isBeta: false,
data: new SlashCommandBuilder()
.setName('queue')
.setDescription('Show the list of tracks added to the queue.')
.setDMPermission(false)
.setNSFW(false)
.addNumberOption((option) => option.setName('page').setDescription('Page number of the queue').setMinValue(1)),
execute: async ({ interaction }) => {
if (await notInVoiceChannel(interaction)) {