diff options
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); + } +}; |
