🐛 Fix Permission
All checks were successful
Build and Push Docker Image / build (push) Successful in 3m29s

This commit is contained in:
Melaine Gérard 2025-01-04 22:10:44 +01:00
parent 1cce7f01b7
commit f28c181e8a
2 changed files with 2 additions and 2 deletions

View File

@ -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

View File

@ -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