diff options
Diffstat (limited to 'commands/reshuffle.js')
| -rw-r--r-- | commands/reshuffle.js | 28 |
1 files changed, 14 insertions, 14 deletions
diff --git a/commands/reshuffle.js b/commands/reshuffle.js index e311e19..c0ad342 100644 --- a/commands/reshuffle.js +++ b/commands/reshuffle.js @@ -19,19 +19,19 @@ * ***************************************************************************/ -import { SlashCommandBuilder } from '@discordjs/builders' -import { player, shufflePlaylist } from "../AudioBackend.js" -import { PermissionFlagsBits } from "discord-api-types/v10" +import { SlashCommandBuilder } from '@discordjs/builders'; +import { player, shufflePlaylist } from '../AudioBackend.js'; +import { PermissionFlagsBits } from 'discord-api-types/v10'; export default { - data: new SlashCommandBuilder() - .setName('reshuffle') - .setDescription('Reshuffles the playlist') - .setDefaultMemberPermissions(PermissionFlagsBits.Administrator), - async execute(interaction, bot) { - // Command not fully functional yet - await interaction.reply({content:`Reshuffling the playlist...`, ephemeral:true}); - player.stop(); - return await shufflePlaylist(bot); - }, -};
\ No newline at end of file + data: new SlashCommandBuilder() + .setName('reshuffle') + .setDescription('Reshuffles the playlist') + .setDefaultMemberPermissions(PermissionFlagsBits.Administrator), + async execute (interaction, bot) { + // Command not fully functional yet + await interaction.reply({ content: 'Reshuffling the playlist...', ephemeral: true }); + player.stop(); + return await shufflePlaylist(bot); + } +}; |
