AttributeProperty for managing Attributes similarly to Django fields
This commit is contained in:
parent
507e896e06
commit
7a60e9ed0d
9 changed files with 587 additions and 225 deletions
|
|
@ -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)
|
||||
|
|
|
|||
|
|
@ -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"""
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue