Renames jobban to roleban so all role commands follow the pattern roleX. (#8754)

Co-authored-by: metalgearsloth <31366439+metalgearsloth@users.noreply.github.com>
This commit is contained in:
Júlio César Ueti
2022-06-12 00:25:11 -03:00
committed by GitHub
parent 500430a82a
commit de9c5084e0

View File

@@ -5,10 +5,10 @@ using Robust.Shared.Console;
namespace Content.Server.Administration.Commands;
[AdminCommand(AdminFlags.Ban)]
public sealed class JobBanCommand : IConsoleCommand
public sealed class RoleBanCommand : IConsoleCommand
{
public string Command => "jobban";
public string Description => "Bans a player from a job";
public string Command => "roleban";
public string Description => "Bans a player from a role";
public string Help => $"Usage: {Command} <name or user ID> <job> <reason> [duration in minutes, leave out or 0 for permanent ban]";
public async void Execute(IConsoleShell shell, string argStr, string[] args)