aboutsummaryrefslogtreecommitdiff
path: root/commands/reshuffle.js
diff options
context:
space:
mode:
authorAndrew Lee <alee14498@protonmail.com>2022-07-09 22:14:38 -0400
committerAndrew Lee <alee14498@protonmail.com>2022-07-09 22:14:38 -0400
commitd7e4cf29e6fc6b8f4ba07e837dcf56b3f5d63afc (patch)
treea6fd714025ec7fe78bd89d45d7f0fa36bc8f73aa /commands/reshuffle.js
parent4c26fbcb7e1674d5ccbb5468a32cd4a2bc2a315b (diff)
downloadDLAP-d7e4cf29e6fc6b8f4ba07e837dcf56b3f5d63afc.tar.gz
DLAP-d7e4cf29e6fc6b8f4ba07e837dcf56b3f5d63afc.tar.bz2
DLAP-d7e4cf29e6fc6b8f4ba07e837dcf56b3f5d63afc.zip
ESLint
Diffstat (limited to 'commands/reshuffle.js')
-rw-r--r--commands/reshuffle.js28
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);
+ }
+};