More cleanup

This commit is contained in:
Toastie 2024-12-27 01:04:20 +13:00
parent e7547b749d
commit b2c6478458
Signed by: toastie_t0ast
GPG key ID: 27F3B6855AFD40A4

View file

@ -24,28 +24,27 @@ internal static class SupportChild
public class CommandLineArguments public class CommandLineArguments
{ {
[Option('c', [Option('c',
"config", "config",
Required = false, Required = false,
HelpText = "Select a config file to use.", HelpText = "Select a config file to use.",
Default = "config.yml", Default = "config.yml",
MetaValue = "PATH")] MetaValue = "PATH")]
public string configPath { get; set; } public string configPath { get; set; }
[Option('t', [Option('t',
"transcripts", "transcripts",
Required = false, Required = false,
HelpText = "Select directory to store transcripts in.", HelpText = "Select directory to store transcripts in.",
Default = "./transcripts", Default = "./transcripts",
MetaValue = "PATH")] MetaValue = "PATH")]
public string transcriptDir { get; set; } public string transcriptDir { get; set; }
[Option( [Option("leave",
"leave", Required = false,
Required = false, HelpText = "Leaves one or more Discord servers. " +
HelpText = "Leaves one or more Discord servers. " + "You can check which servers your bot is in when it starts up.",
"You can check which servers your bot is in when it starts up.", MetaValue = "ID,ID,ID...",
MetaValue = "ID,ID,ID...", Separator = ','
Separator = ','
)] )]
public IEnumerable<ulong> serversToLeave { get; set; } public IEnumerable<ulong> serversToLeave { get; set; }
} }