locks out default permissions for admin commands
This commit is contained in:
parent
1ed93bbdde
commit
26ec841db1
|
@ -32,6 +32,7 @@ namespace BiblioTech
|
||||||
|
|
||||||
if (c.IsAdminCommand)
|
if (c.IsAdminCommand)
|
||||||
{
|
{
|
||||||
|
builder.WithDefaultPermission(false);
|
||||||
builder.WithDefaultMemberPermissions(GuildPermission.Administrator);
|
builder.WithDefaultMemberPermissions(GuildPermission.Administrator);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue