🐛 Fix Permission
All checks were successful
Build and Push Docker Image / build (push) Successful in 3m29s
All checks were successful
Build and Push Docker Image / build (push) Successful in 3m29s
This commit is contained in:
parent
1cce7f01b7
commit
f28c181e8a
@ -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
|
||||
|
@ -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
|
||||
|
Loading…
x
Reference in New Issue
Block a user