From bd2859913f27b8388a55a4995d6ddbf97d87f8d3 Mon Sep 17 00:00:00 2001 From: jetsparrow Date: Sun, 5 Apr 2026 23:02:53 +0300 Subject: [PATCH] Bump .net version and dependencies --- JetKarmaBot/JetKarmaBot.cs | 2 +- JetKarmaBot/JetKarmaBot.csproj | 10 +++++----- JetKarmaBot/Services/Handling/CommandRouter.cs | 2 +- 3 files changed, 7 insertions(+), 7 deletions(-) diff --git a/JetKarmaBot/JetKarmaBot.cs b/JetKarmaBot/JetKarmaBot.cs index e67ba0d..cf90679 100644 --- a/JetKarmaBot/JetKarmaBot.cs +++ b/JetKarmaBot/JetKarmaBot.cs @@ -62,7 +62,7 @@ public class JetKarmaBot : IDisposable public async Task Stop() { if (stopped) return; - Client?.CloseAsync(); + Client?.Close(); timeoutWaitTaskToken?.Cancel(); try { diff --git a/JetKarmaBot/JetKarmaBot.csproj b/JetKarmaBot/JetKarmaBot.csproj index db663df..4e1e861 100644 --- a/JetKarmaBot/JetKarmaBot.csproj +++ b/JetKarmaBot/JetKarmaBot.csproj @@ -1,13 +1,13 @@  Exe - net8.0 + net10.0 - - - - + + + + diff --git a/JetKarmaBot/Services/Handling/CommandRouter.cs b/JetKarmaBot/Services/Handling/CommandRouter.cs index 4903dc4..e7d766e 100644 --- a/JetKarmaBot/Services/Handling/CommandRouter.cs +++ b/JetKarmaBot/Services/Handling/CommandRouter.cs @@ -18,7 +18,7 @@ public class ChatCommandRouter : IRequestHandler public async Task Start() { - Me = await Client.GetMeAsync(); + Me = await Client.GetMe(); } public Task Handle(RequestContext ctx, Func next)