don't override class power levels with bot power level

pull/1077/head
Gabby Gurdin 2 years ago
parent e4ceb91757
commit 076bcea553

@ -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,

Loading…
Cancel
Save