From 49cc058ea14435718abf2e95e36b8ef6c12b27bf Mon Sep 17 00:00:00 2001 From: Daniel Lo Nigro Date: Fri, 18 Mar 2022 17:04:17 -0700 Subject: Allow user description to be customized --- src/slskd/Options.cs | 9 +++++++++ 1 file changed, 9 insertions(+) (limited to 'src/slskd/Options.cs') diff --git a/src/slskd/Options.cs b/src/slskd/Options.cs index 64ca494f..a2c04333 100644 --- a/src/slskd/Options.cs +++ b/src/slskd/Options.cs @@ -694,6 +694,15 @@ namespace slskd [RequiresReconnect] public string Password { get; init; } = null; + /// + /// Gets the description of the Soulseek user. + /// + [Argument(default, "slsk-description")] + [EnvironmentVariable("SLSK_DESCRIPTION")] + [Description("user description for the Soulseek network")] + [RequiresReconnect] + public string Description { get; init; } = "A slskd user. https://github.com/slskd/slskd"; + /// /// Gets the port on which to listen for incoming connections. /// -- cgit v1.2.3