don't override class power levels with bot power level

This commit is contained in:
Gabby Gurdin 2024-04-22 11:29:55 -04:00
parent e4ceb91757
commit 076bcea553

View file

@ -249,6 +249,7 @@ class PangeaController {
} else if (space.getPowerLevelByUserId(BotName.byEnvironment) <
ClassDefaultValues.powerLevelOfAdmin) {
try {
await space.postLoad();
await space.setPower(
BotName.byEnvironment,
ClassDefaultValues.powerLevelOfAdmin,