From d7e4cf29e6fc6b8f4ba07e837dcf56b3f5d63afc Mon Sep 17 00:00:00 2001 From: Andrew Lee Date: Sat, 9 Jul 2022 22:14:38 -0400 Subject: ESLint --- commands/shutdown.js | 24 ++++++++++++------------ 1 file changed, 12 insertions(+), 12 deletions(-) (limited to 'commands/shutdown.js') diff --git a/commands/shutdown.js b/commands/shutdown.js index 4c32bc6..6e3c52b 100644 --- a/commands/shutdown.js +++ b/commands/shutdown.js @@ -19,17 +19,17 @@ * ***************************************************************************/ -import { SlashCommandBuilder } from '@discordjs/builders' -import { stopBot } from "../AudioBackend.js" -import { PermissionFlagsBits } from "discord-api-types/v10" +import { SlashCommandBuilder } from '@discordjs/builders'; +import { stopBot } from '../AudioBackend.js'; +import { PermissionFlagsBits } from 'discord-api-types/v10'; export default { - data: new SlashCommandBuilder() - .setName('shutdown') - .setDescription('Powers off the bot') - .setDefaultMemberPermissions(PermissionFlagsBits.Administrator), - async execute(interaction, bot) { - await interaction.reply({ content: 'Powering off...', ephemeral: true}) - return await stopBot(bot, interaction); - }, -}; \ No newline at end of file + data: new SlashCommandBuilder() + .setName('shutdown') + .setDescription('Powers off the bot') + .setDefaultMemberPermissions(PermissionFlagsBits.Administrator), + async execute (interaction, bot) { + await interaction.reply({ content: 'Powering off...', ephemeral: true }); + return await stopBot(bot, interaction); + } +}; -- cgit v1.2.3