From d7e4cf29e6fc6b8f4ba07e837dcf56b3f5d63afc Mon Sep 17 00:00:00 2001 From: Andrew Lee Date: Sat, 9 Jul 2022 22:14:38 -0400 Subject: ESLint --- commands/reshuffle.js | 28 ++++++++++++++-------------- 1 file changed, 14 insertions(+), 14 deletions(-) (limited to 'commands/reshuffle.js') 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); + } +}; -- cgit v1.2.3