From d7e4cf29e6fc6b8f4ba07e837dcf56b3f5d63afc Mon Sep 17 00:00:00 2001 From: Andrew Lee Date: Sat, 9 Jul 2022 22:14:38 -0400 Subject: ESLint --- commands/leave.js | 26 +++++++++++++------------- 1 file changed, 13 insertions(+), 13 deletions(-) (limited to 'commands/leave.js') diff --git a/commands/leave.js b/commands/leave.js index 63b4245..b37ebdc 100644 --- a/commands/leave.js +++ b/commands/leave.js @@ -19,18 +19,18 @@ * ***************************************************************************/ -import { SlashCommandBuilder } from '@discordjs/builders' -import { destroyAudio } from "../AudioBackend.js" -import { PermissionFlagsBits } from "discord-api-types/v10" +import { SlashCommandBuilder } from '@discordjs/builders'; +import { destroyAudio } from '../AudioBackend.js'; +import { PermissionFlagsBits } from 'discord-api-types/v10'; export default { - data: new SlashCommandBuilder() - .setName('leave') - .setDescription('Leaves the voice chat') - .setDefaultMemberPermissions(PermissionFlagsBits.Administrator), - async execute(interaction) { - console.log('Leaving voice channel...'); - await destroyAudio(interaction); - return await interaction.reply({content:'Leaving voice channel', ephemeral:true}); - }, -}; \ No newline at end of file + data: new SlashCommandBuilder() + .setName('leave') + .setDescription('Leaves the voice chat') + .setDefaultMemberPermissions(PermissionFlagsBits.Administrator), + async execute (interaction) { + console.log('Leaving voice channel...'); + await destroyAudio(interaction); + return await interaction.reply({ content: 'Leaving voice channel', ephemeral: true }); + } +}; -- cgit v1.2.3