Skip to content

Commit bb45030

Browse files
Expose Program.HttpClient
1 parent 0404b96 commit bb45030

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

Program.cs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ public static class Program
66
internal static EventId BotEventId { get; } = new(1000, "Azusa");
77
internal static ConfigJson ConfigJson;
88
internal static DiscordClient Discord;
9-
internal static readonly HttpClient HttpClient = new();
9+
public static readonly HttpClient HttpClient = new();
1010
internal static IMinioClient Minio;
1111
#if DEBUG
1212
internal static readonly ConnectionMultiplexer redis = ConnectionMultiplexer.Connect("localhost:6379");
@@ -18,7 +18,7 @@ public static class Program
1818

1919
internal static async Task Main()
2020
{
21-
HttpClient.DefaultRequestHeaders.Add("User-Agent", "Azusa (contact https://floatingmilkshake.com)");
21+
HttpClient.DefaultRequestHeaders.Add("User-Agent", "Azusa (contact https://floatingmilkshake.com)o");
2222

2323
// Read config.json
2424
string json;

0 commit comments

Comments
 (0)