mirror of
https://github.com/PHIDIAS0303/ExpCluster.git
synced 2025-12-27 03:25:23 +09:00
Remove admin_only from get-roles
This commit is contained in:
@@ -274,7 +274,7 @@ local default = Roles.new_role("Guest", "")
|
|||||||
"command/tag",
|
"command/tag",
|
||||||
"command/tag-clear",
|
"command/tag-clear",
|
||||||
"command/commands",
|
"command/commands",
|
||||||
"command/get-role",
|
"command/get-roles",
|
||||||
"command/locate",
|
"command/locate",
|
||||||
"command/create-report",
|
"command/create-report",
|
||||||
"command/ratio",
|
"command/ratio",
|
||||||
|
|||||||
@@ -35,10 +35,9 @@ Commands.new("unassign-role", { "exp-commands_roles.description-unassign" })
|
|||||||
end)
|
end)
|
||||||
|
|
||||||
--- Lists all roles in they correct order
|
--- Lists all roles in they correct order
|
||||||
Commands.new("get-role", { "exp-commands_roles.description-get" })
|
Commands.new("get-roles", { "exp-commands_roles.description-get" })
|
||||||
:optional("player", { "exp-commands_roles.arg-player-get" }, Commands.types.player)
|
:optional("player", { "exp-commands_roles.arg-player-get" }, Commands.types.player)
|
||||||
:add_aliases{ "roles" }
|
:add_aliases{ "roles" }
|
||||||
:add_flags{ "admin_only" }
|
|
||||||
:register(function(player, other_player)
|
:register(function(player, other_player)
|
||||||
--- @cast other_player LuaPlayer?
|
--- @cast other_player LuaPlayer?
|
||||||
local roles = get_roles_ordered()
|
local roles = get_roles_ordered()
|
||||||
|
|||||||
Reference in New Issue
Block a user