AttributeProperty for managing Attributes similarly to Django fields

This commit is contained in:
Griatch 2021-11-09 23:08:28 +01:00
parent 507e896e06
commit 7a60e9ed0d
9 changed files with 587 additions and 225 deletions

View file

@ -673,6 +673,7 @@ class CmdPose(COMMAND_DEFAULT_CLASS):
key = "pose"
aliases = [":", "emote"]
locks = "cmd:all()"
arg_regex = ""
# we want to be able to pose without whitespace between
# the command/alias and the pose (e.g. :pose)

View file

@ -350,6 +350,7 @@ class CmdPy(COMMAND_DEFAULT_CLASS):
switch_options = ("time", "edit", "clientraw", "noecho")
locks = "cmd:perm(py) or perm(Developer)"
help_category = "System"
arg_regex = ""
def func(self):
"""hook function"""