Various Fixes.

generified the Worldboss module; removed the spammy-section as of currently, will be readded at a later stage.
This commit is contained in:
2022-06-24 18:10:45 +02:00
parent e942ac43fa
commit 84a5933490
20 changed files with 274 additions and 176 deletions
+1 -2
View File
@@ -89,8 +89,7 @@ class CommandService:
command_key = self.get_command_key(cmd_name.lower(), sub_command.lower() if sub_command else "")
al = access_levels.get(command_key, None)
if al is not None and al != access_level.lower():
print(handler)
raise Exception(f"Different access levels specified for forms of command '{command_key}'")
raise Exception(f"Different access levels specified for forms of command '{command_key}' with handler '{handler}'")
access_levels[command_key] = access_level
self.register(handler, cmd_name, params, access_level, description, inst.module_name, help_text,