 7639066249
			
		
	
	7639066249
	
	
	
		
			
			some refactoring fix some stuff add http context accessor configure metrics as well commit 713d054ccb965f7adb8eafa6e3fb52853a1e6dd2 (partial, Docker only)
		
			
				
	
	
		
			21 lines
		
	
	
		
			826 B
		
	
	
	
		
			C#
		
	
	
	
	
	
			
		
		
	
	
			21 lines
		
	
	
		
			826 B
		
	
	
	
		
			C#
		
	
	
	
	
	
| using System.Text;
 | |
| 
 | |
| namespace MareSynchronosShared.Utils.Configuration;
 | |
| 
 | |
| public class ServicesConfiguration : MareConfigurationBase
 | |
| {
 | |
|     public string DiscordBotToken { get; set; } = string.Empty;
 | |
|     public ulong? DiscordChannelForMessages { get; set; } = null;
 | |
|     public ulong? DiscordChannelForReports { get; set; } = null;
 | |
| 
 | |
|     public override string ToString()
 | |
|     {
 | |
|         StringBuilder sb = new();
 | |
|         sb.AppendLine(base.ToString());
 | |
|         sb.AppendLine($"{nameof(DiscordBotToken)} => {DiscordBotToken}");
 | |
|         sb.AppendLine($"{nameof(MainServerAddress)} => {MainServerAddress}");
 | |
|         sb.AppendLine($"{nameof(DiscordChannelForMessages)} => {DiscordChannelForMessages}");
 | |
|         sb.AppendLine($"{nameof(DiscordChannelForReports)} => {DiscordChannelForReports}");
 | |
|         return sb.ToString();
 | |
|     }
 | |
| } |