From f28c181e8a26c9e9b429fa74cd89fb554908e96b Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Melaine=20G=C3=A9rard?= Date: Sat, 4 Jan 2025 22:10:44 +0100 Subject: [PATCH] :bug: Fix Permission --- .../kiss/shot/acerola/commands/moderation/AvertoCommand.java | 2 +- .../shot/acerola/commands/moderation/AvertoListCommand.java | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/main/java/org/camelia/studio/kiss/shot/acerola/commands/moderation/AvertoCommand.java b/src/main/java/org/camelia/studio/kiss/shot/acerola/commands/moderation/AvertoCommand.java index dc8f163..f94601a 100644 --- a/src/main/java/org/camelia/studio/kiss/shot/acerola/commands/moderation/AvertoCommand.java +++ b/src/main/java/org/camelia/studio/kiss/shot/acerola/commands/moderation/AvertoCommand.java @@ -45,7 +45,7 @@ public class AvertoCommand implements ISlashCommand { @Override public DefaultMemberPermissions defaultPermissions() { - return DefaultMemberPermissions.enabledFor(Permission.MESSAGE_MANAGE); + return DefaultMemberPermissions.enabledFor(Permission.BAN_MEMBERS); } @Override diff --git a/src/main/java/org/camelia/studio/kiss/shot/acerola/commands/moderation/AvertoListCommand.java b/src/main/java/org/camelia/studio/kiss/shot/acerola/commands/moderation/AvertoListCommand.java index 03666c3..af17f22 100644 --- a/src/main/java/org/camelia/studio/kiss/shot/acerola/commands/moderation/AvertoListCommand.java +++ b/src/main/java/org/camelia/studio/kiss/shot/acerola/commands/moderation/AvertoListCommand.java @@ -32,7 +32,7 @@ public class AvertoListCommand implements ISlashCommand { @Override public DefaultMemberPermissions defaultPermissions() { - return DefaultMemberPermissions.enabledFor(Permission.MESSAGE_MANAGE); + return DefaultMemberPermissions.enabledFor(Permission.BAN_MEMBERS); } @Override