Skip to content

Commit

Permalink
[Bot -> Core] Make user agent require a reboot.
Browse files Browse the repository at this point in the history
  • Loading branch information
AnalogFeelings committed Nov 22, 2023
1 parent dd89803 commit 1635ff6
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion Source/SammBot.Bot/Core/Settings/BotConfig.cs
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,10 @@ public class BotConfig
public bool WaitForDebugger { get; set; } = false;
public string TwitchUrl { get; set; } = "https://www.twitch.tv/coreaesthetics";
public string CommandLogFormat { get; set; } = "Executing command \"{0}\". Channel: #{1}. User: @{2}.";
[SensitiveSetting] public string HttpUserAgent { get; set; } = "Placeholder User Agent (.NET Application)";

[RequiresReboot]
[SensitiveSetting]
public string HttpUserAgent { get; set; } = "Placeholder User Agent (.NET Application)";

// API Tokens
[RequiresReboot]
Expand Down

0 comments on commit 1635ff6

Please sign in to comment.