diff --git a/exp_legacy/module/config/expcore/roles.lua b/exp_legacy/module/config/expcore/roles.lua index 14fd9695..9ad1a593 100644 --- a/exp_legacy/module/config/expcore/roles.lua +++ b/exp_legacy/module/config/expcore/roles.lua @@ -274,7 +274,7 @@ local default = Roles.new_role("Guest", "") "command/tag", "command/tag-clear", "command/commands", - "command/get-role", + "command/get-roles", "command/locate", "command/create-report", "command/ratio", diff --git a/exp_scenario/module/commands/roles.lua b/exp_scenario/module/commands/roles.lua index 7f519bf3..7adbb3a1 100644 --- a/exp_scenario/module/commands/roles.lua +++ b/exp_scenario/module/commands/roles.lua @@ -35,10 +35,9 @@ Commands.new("unassign-role", { "exp-commands_roles.description-unassign" }) end) --- 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) :add_aliases{ "roles" } - :add_flags{ "admin_only" } :register(function(player, other_player) --- @cast other_player LuaPlayer? local roles = get_roles_ordered()