17 lines
590 B
C#
17 lines
590 B
C#
using ArgsUniform;
|
|
|
|
namespace BiblioTech
|
|
{
|
|
public class Configuration
|
|
{
|
|
[Uniform("token", "t", "TOKEN", true, "Discord Application Token")]
|
|
public string ApplicationToken { get; set; } = string.Empty;
|
|
|
|
[Uniform("server-name", "sn", "SERVERNAME", true, "Name of the Discord server")]
|
|
public string ServerName { get; set; } = string.Empty;
|
|
|
|
[Uniform("endpoints", "e", "ENDPOINTS", false, "Path where endpoint JSONs are located. Also accepts codex-deployment JSONs.")]
|
|
public string EndpointsPath { get; set; } = "endpoints";
|
|
}
|
|
}
|