locks out default permissions for admin commands

This commit is contained in:
benbierens 2023-11-09 10:45:28 +01:00
parent 1ed93bbdde
commit 26ec841db1
No known key found for this signature in database
GPG Key ID: FE44815D96D0A1AA
1 changed files with 1 additions and 0 deletions

View File

@ -32,6 +32,7 @@ namespace BiblioTech
if (c.IsAdminCommand) if (c.IsAdminCommand)
{ {
builder.WithDefaultPermission(false);
builder.WithDefaultMemberPermissions(GuildPermission.Administrator); builder.WithDefaultMemberPermissions(GuildPermission.Administrator);
} }