mirror of
https://github.com/evennia/evennia.git
synced 2026-04-18 06:09:06 +02:00
class var options renamed switch_options
This commit is contained in:
parent
126960f146
commit
ac41b427c3
1 changed files with 4 additions and 4 deletions
|
|
@ -36,7 +36,7 @@ class CmdBoot(COMMAND_DEFAULT_CLASS):
|
||||||
"""
|
"""
|
||||||
|
|
||||||
key = "@boot"
|
key = "@boot"
|
||||||
options = ("quiet", "sid")
|
switch_options = ("quiet", "sid")
|
||||||
locks = "cmd:perm(boot) or perm(Admin)"
|
locks = "cmd:perm(boot) or perm(Admin)"
|
||||||
help_category = "Admin"
|
help_category = "Admin"
|
||||||
|
|
||||||
|
|
@ -266,7 +266,7 @@ class CmdDelAccount(COMMAND_DEFAULT_CLASS):
|
||||||
"""
|
"""
|
||||||
|
|
||||||
key = "@delaccount"
|
key = "@delaccount"
|
||||||
options = ("delobj",)
|
switch_options = ("delobj",)
|
||||||
locks = "cmd:perm(delaccount) or perm(Developer)"
|
locks = "cmd:perm(delaccount) or perm(Developer)"
|
||||||
help_category = "Admin"
|
help_category = "Admin"
|
||||||
|
|
||||||
|
|
@ -343,7 +343,7 @@ class CmdEmit(COMMAND_DEFAULT_CLASS):
|
||||||
"""
|
"""
|
||||||
key = "@emit"
|
key = "@emit"
|
||||||
aliases = ["@pemit", "@remit"]
|
aliases = ["@pemit", "@remit"]
|
||||||
options = ("room", "accounts", "contents")
|
switch_options = ("room", "accounts", "contents")
|
||||||
locks = "cmd:perm(emit) or perm(Builder)"
|
locks = "cmd:perm(emit) or perm(Builder)"
|
||||||
help_category = "Admin"
|
help_category = "Admin"
|
||||||
|
|
||||||
|
|
@ -453,7 +453,7 @@ class CmdPerm(COMMAND_DEFAULT_CLASS):
|
||||||
"""
|
"""
|
||||||
key = "@perm"
|
key = "@perm"
|
||||||
aliases = "@setperm"
|
aliases = "@setperm"
|
||||||
options = ("del", "account")
|
switch_options = ("del", "account")
|
||||||
locks = "cmd:perm(perm) or perm(Developer)"
|
locks = "cmd:perm(perm) or perm(Developer)"
|
||||||
help_category = "Admin"
|
help_category = "Admin"
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue