Add department bans (#11085)

* Add department bans

Also localised some stuff while I was there.

* loc
This commit is contained in:
metalgearsloth
2022-09-09 08:06:21 +10:00
committed by GitHub
parent 6f5e22a999
commit 72bc05e3ac
4 changed files with 107 additions and 12 deletions

View File

@@ -38,13 +38,13 @@ public sealed class RoleBanCommand : IConsoleCommand
if (!uint.TryParse(args[3], out minutes))
{
shell.WriteLine($"{args[3]} is not a valid amount of minutes.\n{Help}");
shell.WriteError(Loc.GetString("cmd-roleban-minutes-parse", ("time", args[3]), ("help", Help)));
return;
}
break;
default:
shell.WriteLine($"Invalid amount of arguments.");
shell.WriteError(Loc.GetString("cmd-roleban-arg-count"));
shell.WriteLine(Help);
return;
}