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:
@@ -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,
|
||||
|
||||
Reference in New Issue
Block a user