1
0
DiscordMediaRichPresence/DiscordMediaRP/Config.cs
glax 4ce20fff51 Added Config File
Added Ignore Webpages (firefox)
Added Ignore Spotify
2024-02-22 17:25:13 +01:00

27 lines
591 B
C#

using Microsoft.Extensions.Logging;
namespace DiscordMediaRP;
public struct Config
{
public required string DiscordKey;
public LogLevel? LogLevel;
public string? LargeImageKey;
public bool? UseSpotify;
public string[]? WebbrowserIgnoreSites;
public Config WithDiscordKey(string key)
{
return this with { DiscordKey = key };
}
public Config WithLargeImageKey(string key)
{
return this with { LargeImageKey = key };
}
public Config WithLogLevel(LogLevel level)
{
return this with { LogLevel = level };
}
}