2
0
mirror of synced 2025-01-11 17:14:25 +00:00

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

View File

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