From 1e294d91c3eab7e65936010c8f0c81c4c4f73b96 Mon Sep 17 00:00:00 2001 From: Andrew Lee Date: Tue, 5 Jul 2022 23:08:59 -0400 Subject: Removed help; Updated all the new commands; Finally removed final control panel code --- commands/stop.js | 1 - 1 file changed, 1 deletion(-) (limited to 'commands/stop.js') diff --git a/commands/stop.js b/commands/stop.js index ced8fe5..b3997e2 100644 --- a/commands/stop.js +++ b/commands/stop.js @@ -28,7 +28,6 @@ export default { .setName('stop') .setDescription('Powers off the bot'), async execute(interaction, bot) { - if (![config.botOwner].includes(interaction.user.id)) return await interaction.reply({ content: "You do not have permissions to execute this command.", ephemeral: true }); await interaction.reply({ content: 'Powering off...', ephemeral: true}) return await stopBot(bot, interaction); }, -- cgit v1.2.3