Add times to ban commands (#13804)

This commit is contained in:
Chief-Engineer
2023-01-30 19:43:44 -06:00
committed by GitHub
parent 3eba394d0b
commit 64fcfd553e
4 changed files with 21 additions and 5 deletions

View File

@@ -128,9 +128,12 @@ namespace Content.Server.Administration.Commands
{
var durations = new CompletionOption[]
{
new("0", "Permanent"),
new("1440", "1 day"),
new("10080", "1 week"),
new("0", Loc.GetString("cmd-ban-hint-duration-1")),
new("1440", Loc.GetString("cmd-ban-hint-duration-2")),
new("4320", Loc.GetString("cmd-ban-hint-duration-3")),
new("10080", Loc.GetString("cmd-ban-hint-duration-4")),
new("20160", Loc.GetString("cmd-ban-hint-duration-5")),
new("43800", Loc.GetString("cmd-ban-hint-duration-6")),
};
return CompletionResult.FromHintOptions(durations, Loc.GetString("cmd-ban-hint-duration"));