From d533ba4d33da1378ea064c7d76b60a54a406022c Mon Sep 17 00:00:00 2001 From: Minteck Date: Thu, 10 Feb 2022 22:31:52 +0100 Subject: Fix: /config serverlang not working --- commands/config.js | 2 +- config/fpexperience.txt | 2 +- config/version.txt | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/commands/config.js b/commands/config.js index d8e8d16..42c0a7e 100644 --- a/commands/config.js +++ b/commands/config.js @@ -26,7 +26,7 @@ module.exports = async (interaction) => { return; } - if (!interaction.guild.members.resolve(interaction.user).permissions.has("MANAGE_SERVER") && interaction.user.id !== admin) { + if (!interaction.guild.members.resolve(interaction.user).permissions.has("MANAGE_GUILD") && interaction.user.id !== admin) { await interaction.reply({ ephemeral: interaction.guild !== null, embeds: [ diff --git a/config/fpexperience.txt b/config/fpexperience.txt index 7813681..c793025 100644 --- a/config/fpexperience.txt +++ b/config/fpexperience.txt @@ -1 +1 @@ -5 \ No newline at end of file +7 \ No newline at end of file diff --git a/config/version.txt b/config/version.txt index 321b7ce..80f5e3a 100644 --- a/config/version.txt +++ b/config/version.txt @@ -1 +1 @@ -1.1.30 \ No newline at end of file +1.2.31 \ No newline at end of file -- cgit