diff --git a/extra/admin-api/Utilities/Spacebar.Sdk/Core/SpacebarClient.cs b/extra/admin-api/Utilities/Spacebar.Sdk/Core/SpacebarClient.cs index b4d8bc950..1d4fa527b 100644 --- a/extra/admin-api/Utilities/Spacebar.Sdk/Core/SpacebarClient.cs +++ b/extra/admin-api/Utilities/Spacebar.Sdk/Core/SpacebarClient.cs @@ -82,9 +82,8 @@ public class AuthenticatedSpacebarClient { return (await resp.Content.ReadFromJsonAsync>())!; } - public async Task LogOutAsync() - { - var resp = await ApiHttpClient.PostAsJsonAsync("auth/logout", new {}); + public async Task LogOutAsync() { + var resp = await ApiHttpClient.PostAsJsonAsync("auth/logout", new { }); if (!resp.IsSuccessStatusCode) throw SpacebarApiException.FromJson((await resp.Content.ReadFromJsonAsync())!); } } @@ -136,9 +135,9 @@ public class SpacebarClientChannel(AuthenticatedSpacebarClient client, long chan return (await resp.Content.ReadFromJsonAsync())!; } -// public async Task SendMessageAsync(MessageSchema messageSchema) { -// throw new NotImplementedException(); -// } + // public async Task SendMessageAsync(MessageSchema messageSchema) { + // throw new NotImplementedException(); + // } } public class SpacebarClientGuild(AuthenticatedSpacebarClient client, long guildId) { @@ -186,7 +185,10 @@ public class AuthenticatedSpacebarGatewayClient(ILogger> OnGatewayMessage { get; } = []; @@ -216,7 +218,11 @@ public class AuthenticatedSpacebarGatewayClient(ILogger