diff options
| author | Andrew Lee <alee14498@protonmail.com> | 2022-07-09 22:14:38 -0400 |
|---|---|---|
| committer | Andrew Lee <alee14498@protonmail.com> | 2022-07-09 22:14:38 -0400 |
| commit | d7e4cf29e6fc6b8f4ba07e837dcf56b3f5d63afc (patch) | |
| tree | a6fd714025ec7fe78bd89d45d7f0fa36bc8f73aa /commands/shutdown.js | |
| parent | 4c26fbcb7e1674d5ccbb5468a32cd4a2bc2a315b (diff) | |
| download | DLAP-d7e4cf29e6fc6b8f4ba07e837dcf56b3f5d63afc.tar.gz DLAP-d7e4cf29e6fc6b8f4ba07e837dcf56b3f5d63afc.tar.bz2 DLAP-d7e4cf29e6fc6b8f4ba07e837dcf56b3f5d63afc.zip | |
ESLint
Diffstat (limited to 'commands/shutdown.js')
| -rw-r--r-- | commands/shutdown.js | 24 |
1 files changed, 12 insertions, 12 deletions
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); + } +}; |
