diff --git a/Bot/ACL/ACM.cs b/Bot/AccessControl/AccessManager.cs similarity index 90% rename from Bot/ACL/ACM.cs rename to Bot/AccessControl/AccessManager.cs index 9b8414a..56dfe09 100644 --- a/Bot/ACL/ACM.cs +++ b/Bot/AccessControl/AccessManager.cs @@ -1,25 +1,17 @@ -using HomeBot.ModuleLoader; -using System; -using System.Collections.Generic; -using System.Linq; -using System.Text; -using System.Threading.Tasks; -using Newtonsoft.Json; -using HomeBot.Telegram; +using Newtonsoft.Json; using Telegram.Bot; -using Telegram.Bot.Types.ReplyMarkups; using Telegram.Bot.Types; -using File = Telegram.Bot.Types.File; +using Telegram.Bot.Types.ReplyMarkups; -namespace HomeBot.ACL +namespace SoUnBot.AccessControl { - public class ACM + public class AccessManager { private string _acl_path; private Dictionary> _acl; public long AdminId { get; private set; } - public ACM(string aclPath, long adminId) + public AccessManager(string aclPath, long adminId) { _acl_path = aclPath; AdminId = adminId; diff --git a/Bot/ModuleLoader/IModule.cs b/Bot/ModuleLoader/IModule.cs index 98896a2..c345889 100644 --- a/Bot/ModuleLoader/IModule.cs +++ b/Bot/ModuleLoader/IModule.cs @@ -1,7 +1,7 @@ using Telegram.Bot; using Telegram.Bot.Types; -namespace HomeBot.ModuleLoader +namespace SoUnBot.ModuleLoader { public interface IModule { diff --git a/Bot/ModuleLoader/ModuleLoader.cs b/Bot/ModuleLoader/ModuleLoader.cs index 49d74e5..b111afd 100644 --- a/Bot/ModuleLoader/ModuleLoader.cs +++ b/Bot/ModuleLoader/ModuleLoader.cs @@ -1,4 +1,4 @@ -namespace HomeBot.ModuleLoader +namespace SoUnBot.ModuleLoader { public class ModuleLoader { diff --git a/Bot/Modules/OttoLinux/BotGame.cs b/Bot/Modules/OttoLinux/BotGame.cs index 326fedd..7653553 100644 --- a/Bot/Modules/OttoLinux/BotGame.cs +++ b/Bot/Modules/OttoLinux/BotGame.cs @@ -1,15 +1,15 @@ -using HomeBot.ACL; -using HomeBot.ModuleLoader; +using SoUnBot.AccessControl; +using SoUnBot.ModuleLoader; using Telegram.Bot; using Telegram.Bot.Types; using Telegram.Bot.Types.Enums; using Telegram.Bot.Types.ReplyMarkups; -namespace HomeBot.Modules.OttoLinux +namespace SoUnBot.Modules.OttoLinux { public class BotGame : IModule { - private ACM _acm; + private AccessManager _accessManager; private List _questions; private string _questionsPath; private string _name; @@ -22,9 +22,9 @@ namespace HomeBot.Modules.OttoLinux private static Random _rng = new Random(); - public BotGame(ACM acm, string name, string path, bool locke, int version = 1) + public BotGame(AccessManager accessManager, string name, string path, bool locke, int version = 1) { - _acm = acm; + _accessManager = accessManager; _questionsPath = path; _name = name; _lock = locke; @@ -38,9 +38,9 @@ namespace HomeBot.Modules.OttoLinux if (version == 2) LoadQuestionsV2(); else LoadQuestions(); } - public BotGame(ACM acm) + public BotGame(AccessManager accessManager) { - _acm = acm; + _accessManager = accessManager; _questions = new List(); _scores = new Dictionary(); _playingQuestions = new Dictionary(); @@ -142,15 +142,15 @@ namespace HomeBot.Modules.OttoLinux if (_lock) { - if (!_acm.CheckPermission(update.Message.From, Cmd(), botClient)) return; + if (!_accessManager.CheckPermission(update.Message.From, Cmd(), botClient)) return; } else { - if (!_acm.CheckPermission(uid, Cmd())) + if (!_accessManager.CheckPermission(uid, Cmd())) { - _acm.GrantPermission(uid, Cmd()); + _accessManager.GrantPermission(uid, Cmd()); await botClient.SendTextMessageAsync( - chatId: _acm.AdminId, + chatId: _accessManager.AdminId, text: $"ACM: { update.Message.From.Id }\nL'utente { update.Message.From.FirstName } { update.Message.From.LastName } @{ update.Message.From.Username }\nHa iniziato a usare il bot." ); } @@ -343,7 +343,7 @@ namespace HomeBot.Modules.OttoLinux { qst = PickRandomQuestion(uid, botClient); botClient.SendTextMessageAsync( - chatId: _acm.AdminId, + chatId: _accessManager.AdminId, text: $"DOMANDA SENZA RISPOSTE -> {qst.Quest}" ); } diff --git a/Bot/Modules/OttoLinux/OttoScore.cs b/Bot/Modules/OttoLinux/OttoScore.cs index 4d62a64..7c18bc9 100644 --- a/Bot/Modules/OttoLinux/OttoScore.cs +++ b/Bot/Modules/OttoLinux/OttoScore.cs @@ -4,7 +4,7 @@ using System.Linq; using System.Text; using System.Threading.Tasks; -namespace HomeBot.Modules.OttoLinux +namespace SoUnBot.Modules.OttoLinux { public class OttoScore { diff --git a/Bot/Modules/OttoLinux/Question.cs b/Bot/Modules/OttoLinux/Question.cs index 8d57513..7ab89a5 100644 --- a/Bot/Modules/OttoLinux/Question.cs +++ b/Bot/Modules/OttoLinux/Question.cs @@ -4,7 +4,7 @@ using System.Linq; using System.Text; using System.Threading.Tasks; -namespace HomeBot.Modules.OttoLinux +namespace SoUnBot.Modules.OttoLinux { public class Question { diff --git a/Bot/Modules/OttoLinux/WebReverse.cs b/Bot/Modules/OttoLinux/WebReverse.cs index fe5e563..7588394 100644 --- a/Bot/Modules/OttoLinux/WebReverse.cs +++ b/Bot/Modules/OttoLinux/WebReverse.cs @@ -10,7 +10,7 @@ using System.Threading.Tasks; using System.Net; using Newtonsoft.Json; -namespace HomeBot.Modules.OttoLinux +namespace SoUnBot.Modules.OttoLinux { internal class WebReverse { diff --git a/Bot/Program.cs b/Bot/Program.cs index 0df5272..d5d95c7 100644 --- a/Bot/Program.cs +++ b/Bot/Program.cs @@ -1,7 +1,7 @@ -using HomeBot.ACL; -using HomeBot.ModuleLoader; -using HomeBot.Modules.OttoLinux; -using HomeBot.Telegram; +using SoUnBot.AccessControl; +using SoUnBot.ModuleLoader; +using SoUnBot.Modules.OttoLinux; +using SoUnBot.Telegram; using Telegram.Bot.Types; string dataPath = Environment.GetEnvironmentVariable("DATA_PATH") ?? "BotData"; @@ -18,7 +18,7 @@ if (!long.TryParse(tgAdminId, out tgAdminLong)) return; } -var acl = new ACM(aclPath, tgAdminLong); +var acl = new AccessManager(aclPath, tgAdminLong); var moduleLoader = new ModuleLoader(); try diff --git a/Bot/HomeBot.csproj b/Bot/SoUnBot.csproj similarity index 100% rename from Bot/HomeBot.csproj rename to Bot/SoUnBot.csproj diff --git a/Bot/Telegram/TelegramBot.cs b/Bot/Telegram/TelegramBot.cs index 61e6ccc..ef049da 100644 --- a/Bot/Telegram/TelegramBot.cs +++ b/Bot/Telegram/TelegramBot.cs @@ -1,5 +1,5 @@ -using HomeBot.ACL; -using HomeBot.ModuleLoader; +using SoUnBot.AccessControl; +using SoUnBot.ModuleLoader; using Telegram.Bot; using Telegram.Bot.Exceptions; using Telegram.Bot.Extensions.Polling; @@ -7,20 +7,20 @@ using Telegram.Bot.Types; using Telegram.Bot.Types.Enums; using Telegram.Bot.Types.ReplyMarkups; -namespace HomeBot.Telegram +namespace SoUnBot.Telegram { internal class TelegramBot { - private ACM _acm; + private AccessManager _accessManager; private string _moth_path; private Dictionary _modules; public TelegramBotClient BotClient { get; private set; } private Dictionary _usersContext; - public TelegramBot(string token, ACM acm, string motd_path, Dictionary modules) + public TelegramBot(string token, AccessManager accessManager, string motd_path, Dictionary modules) { - _acm = acm; + _accessManager = accessManager; _moth_path = motd_path; _modules = modules; _usersContext = new Dictionary(); @@ -59,7 +59,7 @@ namespace HomeBot.Telegram { long uid = int.Parse(update.CallbackQuery.Message.Text.Substring(5).Split('\n')[0]); string perm = update.CallbackQuery.Message.Text.Split("Ha richiesto l'accesso a: ")[1]; - _acm.GrantPermission(uid, perm); + _accessManager.GrantPermission(uid, perm); await botClient.AnswerCallbackQueryAsync( update.CallbackQuery.Id, @@ -74,7 +74,7 @@ namespace HomeBot.Telegram if (update.CallbackQuery.Message.Text.StartsWith("ACM") && update.CallbackQuery.Data.Contains("🔆 Richiedi accesso")) { string perm = update.CallbackQuery.Message.Text.Split('`')[1]; - _acm.AskPermission(update.CallbackQuery.From, perm, botClient); + _accessManager.AskPermission(update.CallbackQuery.From, perm, botClient); await botClient.AnswerCallbackQueryAsync( update.CallbackQuery.Id, "Richiesta effettuata" @@ -101,32 +101,13 @@ namespace HomeBot.Telegram if (update.Type == UpdateType.Message && update.Message!.Type == MessageType.Text && update.Message.Text.StartsWith("/spam")) { - if (!_acm.CheckPermission(update.Message.From, "global.spam", botClient)) return; + if (!_accessManager.CheckPermission(update.Message.From, "global.spam", botClient)) return; await botClient.SendTextMessageAsync( chatId: chatId, text: "Invio annuncio in corso...", cancellationToken: cancellationToken); - foreach (long user in _acm.Users()) - { - try - { - Console.WriteLine("Sto spammando a" + user.ToString()); - await botClient.SendTextMessageAsync( - chatId: user, - text: update.Message.Text.Substring(6) - ); - - await Task.Delay(1000); - } catch - { - Console.WriteLine("Ho fallito"); - } - } - await botClient.SendTextMessageAsync( - chatId: chatId, - text: "✅ Annunciato a tutti!", - cancellationToken: cancellationToken); + SendToEveryone(botClient, chatId, update.Message.Text.Substring(6)); return; } @@ -176,5 +157,27 @@ namespace HomeBot.Telegram return Task.CompletedTask; } + private async void SendToEveryone(ITelegramBotClient botClient, long chatId, string text) + { + foreach (long user in _accessManager.Users()) + { + try + { + Console.WriteLine("Sto spammando a" + user.ToString()); + await botClient.SendTextMessageAsync( + chatId: user, + text: text + ); + await Task.Delay(500); + } + catch + { + Console.WriteLine("Ho fallito"); + } + } + await botClient.SendTextMessageAsync( + chatId: chatId, + text: "✅ Annunciato a tutti!"); + } } } diff --git a/Bot/bin/Debug/net8.0/HomeBot.dll b/Bot/bin/Debug/net8.0/SoUnBot.dll similarity index 100% rename from Bot/bin/Debug/net8.0/HomeBot.dll rename to Bot/bin/Debug/net8.0/SoUnBot.dll diff --git a/Bot/bin/Debug/net8.0/HomeBot.pdb b/Bot/bin/Debug/net8.0/SoUnBot.pdb similarity index 100% rename from Bot/bin/Debug/net8.0/HomeBot.pdb rename to Bot/bin/Debug/net8.0/SoUnBot.pdb diff --git a/Bot/obj/Debug/net8.0/HomeBot.AssemblyInfo.cs b/Bot/obj/Debug/net8.0/HomeBot.AssemblyInfo.cs index e67965f..79bd1f7 100644 --- a/Bot/obj/Debug/net8.0/HomeBot.AssemblyInfo.cs +++ b/Bot/obj/Debug/net8.0/HomeBot.AssemblyInfo.cs @@ -13,7 +13,7 @@ using System.Reflection; [assembly: System.Reflection.AssemblyCompanyAttribute("HomeBot")] [assembly: System.Reflection.AssemblyConfigurationAttribute("Debug")] [assembly: System.Reflection.AssemblyFileVersionAttribute("1.0.0.0")] -[assembly: System.Reflection.AssemblyInformationalVersionAttribute("1.0.0")] +[assembly: System.Reflection.AssemblyInformationalVersionAttribute("1.0.0+0f90b3525e15d7b555f43c99e89fd846983e65c2")] [assembly: System.Reflection.AssemblyProductAttribute("HomeBot")] [assembly: System.Reflection.AssemblyTitleAttribute("HomeBot")] [assembly: System.Reflection.AssemblyVersionAttribute("1.0.0.0")] diff --git a/Bot/obj/Debug/net8.0/HomeBot.AssemblyInfoInputs.cache b/Bot/obj/Debug/net8.0/HomeBot.AssemblyInfoInputs.cache index 6f95a0d..54547c9 100644 --- a/Bot/obj/Debug/net8.0/HomeBot.AssemblyInfoInputs.cache +++ b/Bot/obj/Debug/net8.0/HomeBot.AssemblyInfoInputs.cache @@ -1 +1 @@ -72c6f3b361b78aae87749dd6be685e28f0778d89bfd5e20c56f46ab1894d22cf +c8e5760cdee60026fb802757fafaf6f76e6a858fc29bd4ca77cc6c67f07235e4 diff --git a/Bot/obj/Debug/net8.0/SoUnBot.AssemblyInfo.cs b/Bot/obj/Debug/net8.0/SoUnBot.AssemblyInfo.cs new file mode 100644 index 0000000..40824e8 --- /dev/null +++ b/Bot/obj/Debug/net8.0/SoUnBot.AssemblyInfo.cs @@ -0,0 +1,22 @@ +//------------------------------------------------------------------------------ +// +// This code was generated by a tool. +// +// Changes to this file may cause incorrect behavior and will be lost if +// the code is regenerated. +// +//------------------------------------------------------------------------------ + +using System; +using System.Reflection; + +[assembly: System.Reflection.AssemblyCompanyAttribute("SoUnBot")] +[assembly: System.Reflection.AssemblyConfigurationAttribute("Debug")] +[assembly: System.Reflection.AssemblyFileVersionAttribute("1.0.0.0")] +[assembly: System.Reflection.AssemblyInformationalVersionAttribute("1.0.0+0f90b3525e15d7b555f43c99e89fd846983e65c2")] +[assembly: System.Reflection.AssemblyProductAttribute("SoUnBot")] +[assembly: System.Reflection.AssemblyTitleAttribute("SoUnBot")] +[assembly: System.Reflection.AssemblyVersionAttribute("1.0.0.0")] + +// Generato dalla classe WriteCodeFragment di MSBuild. + diff --git a/Bot/obj/Debug/net8.0/SoUnBot.AssemblyInfoInputs.cache b/Bot/obj/Debug/net8.0/SoUnBot.AssemblyInfoInputs.cache new file mode 100644 index 0000000..c123bc2 --- /dev/null +++ b/Bot/obj/Debug/net8.0/SoUnBot.AssemblyInfoInputs.cache @@ -0,0 +1 @@ +66e8072e473b7388543ce284dd0da693fc6607bd39c78f6abbaaf2843454409e diff --git a/Bot/obj/Debug/net8.0/SoUnBot.GeneratedMSBuildEditorConfig.editorconfig b/Bot/obj/Debug/net8.0/SoUnBot.GeneratedMSBuildEditorConfig.editorconfig new file mode 100644 index 0000000..fe34a67 --- /dev/null +++ b/Bot/obj/Debug/net8.0/SoUnBot.GeneratedMSBuildEditorConfig.editorconfig @@ -0,0 +1,13 @@ +is_global = true +build_property.TargetFramework = net8.0 +build_property.TargetPlatformMinVersion = +build_property.UsingMicrosoftNETSdkWeb = +build_property.ProjectTypeGuids = +build_property.InvariantGlobalization = +build_property.PlatformNeutralAssembly = +build_property.EnforceExtendedAnalyzerRules = +build_property._SupportedPlatformList = Linux,macOS,Windows +build_property.RootNamespace = SoUnBot +build_property.ProjectDir = /home/marco/RiderProjects/so-un-bot/Bot/ +build_property.EnableComHosting = +build_property.EnableGeneratedComInterfaceComImportInterop = diff --git a/Bot/obj/Debug/net8.0/SoUnBot.GlobalUsings.g.cs b/Bot/obj/Debug/net8.0/SoUnBot.GlobalUsings.g.cs new file mode 100644 index 0000000..8578f3d --- /dev/null +++ b/Bot/obj/Debug/net8.0/SoUnBot.GlobalUsings.g.cs @@ -0,0 +1,8 @@ +// +global using global::System; +global using global::System.Collections.Generic; +global using global::System.IO; +global using global::System.Linq; +global using global::System.Net.Http; +global using global::System.Threading; +global using global::System.Threading.Tasks; diff --git a/Bot/obj/Debug/net8.0/SoUnBot.assets.cache b/Bot/obj/Debug/net8.0/SoUnBot.assets.cache new file mode 100644 index 0000000..b28c592 Binary files /dev/null and b/Bot/obj/Debug/net8.0/SoUnBot.assets.cache differ diff --git a/Bot/obj/Debug/net8.0/SoUnBot.csproj.AssemblyReference.cache b/Bot/obj/Debug/net8.0/SoUnBot.csproj.AssemblyReference.cache new file mode 100644 index 0000000..72ef4e6 Binary files /dev/null and b/Bot/obj/Debug/net8.0/SoUnBot.csproj.AssemblyReference.cache differ diff --git a/Bot/obj/HomeBot.csproj.nuget.dgspec.json b/Bot/obj/HomeBot.csproj.nuget.dgspec.json index c0819ad..9ce5a86 100644 --- a/Bot/obj/HomeBot.csproj.nuget.dgspec.json +++ b/Bot/obj/HomeBot.csproj.nuget.dgspec.json @@ -65,7 +65,7 @@ "downloadDependencies": [ { "name": "Microsoft.AspNetCore.App.Ref", - "version": "[8.0.0, 8.0.0]" + "version": "[8.0.1, 8.0.1]" } ], "frameworkReferences": { @@ -73,7 +73,7 @@ "privateAssets": "all" } }, - "runtimeIdentifierGraphPath": "/usr/share/dotnet/sdk/8.0.100/PortableRuntimeIdentifierGraph.json" + "runtimeIdentifierGraphPath": "/usr/share/dotnet/sdk/8.0.101/PortableRuntimeIdentifierGraph.json" } } } diff --git a/Bot/obj/SoUnBot.csproj.nuget.dgspec.json b/Bot/obj/SoUnBot.csproj.nuget.dgspec.json new file mode 100644 index 0000000..dc5e17d --- /dev/null +++ b/Bot/obj/SoUnBot.csproj.nuget.dgspec.json @@ -0,0 +1,81 @@ +{ + "format": 1, + "restore": { + "/home/marco/RiderProjects/so-un-bot/Bot/SoUnBot.csproj": {} + }, + "projects": { + "/home/marco/RiderProjects/so-un-bot/Bot/SoUnBot.csproj": { + "version": "1.0.0", + "restore": { + "projectUniqueName": "/home/marco/RiderProjects/so-un-bot/Bot/SoUnBot.csproj", + "projectName": "SoUnBot", + "projectPath": "/home/marco/RiderProjects/so-un-bot/Bot/SoUnBot.csproj", + "packagesPath": "/home/marco/.nuget/packages/", + "outputPath": "/home/marco/RiderProjects/so-un-bot/Bot/obj/", + "projectStyle": "PackageReference", + "configFilePaths": [ + "/home/marco/.nuget/NuGet/NuGet.Config" + ], + "originalTargetFrameworks": [ + "net8.0" + ], + "sources": { + "https://api.nuget.org/v3/index.json": {} + }, + "frameworks": { + "net8.0": { + "targetAlias": "net8.0", + "projectReferences": {} + } + }, + "warningProperties": { + "warnAsError": [ + "NU1605" + ] + } + }, + "frameworks": { + "net8.0": { + "targetAlias": "net8.0", + "dependencies": { + "Newtonsoft.Json": { + "target": "Package", + "version": "[13.0.1, )" + }, + "Telegram.Bot": { + "target": "Package", + "version": "[17.0.0, )" + }, + "Telegram.Bot.Extensions.Polling": { + "target": "Package", + "version": "[1.0.0, )" + } + }, + "imports": [ + "net461", + "net462", + "net47", + "net471", + "net472", + "net48", + "net481" + ], + "assetTargetFallback": true, + "warn": true, + "downloadDependencies": [ + { + "name": "Microsoft.AspNetCore.App.Ref", + "version": "[8.0.1, 8.0.1]" + } + ], + "frameworkReferences": { + "Microsoft.NETCore.App": { + "privateAssets": "all" + } + }, + "runtimeIdentifierGraphPath": "/usr/share/dotnet/sdk/8.0.101/PortableRuntimeIdentifierGraph.json" + } + } + } + } +} \ No newline at end of file diff --git a/Bot/obj/SoUnBot.csproj.nuget.g.props b/Bot/obj/SoUnBot.csproj.nuget.g.props new file mode 100644 index 0000000..cc7ee30 --- /dev/null +++ b/Bot/obj/SoUnBot.csproj.nuget.g.props @@ -0,0 +1,15 @@ + + + + True + NuGet + $(MSBuildThisFileDirectory)project.assets.json + /home/marco/.nuget/packages/ + /home/marco/.nuget/packages/ + PackageReference + 6.8.0 + + + + + \ No newline at end of file diff --git a/Bot/obj/SoUnBot.csproj.nuget.g.targets b/Bot/obj/SoUnBot.csproj.nuget.g.targets new file mode 100644 index 0000000..3dc06ef --- /dev/null +++ b/Bot/obj/SoUnBot.csproj.nuget.g.targets @@ -0,0 +1,2 @@ + + \ No newline at end of file diff --git a/Bot/obj/project.assets.json b/Bot/obj/project.assets.json index a57b584..c3fda11 100644 --- a/Bot/obj/project.assets.json +++ b/Bot/obj/project.assets.json @@ -207,9 +207,9 @@ "project": { "version": "1.0.0", "restore": { - "projectUniqueName": "/home/marco/RiderProjects/so-un-bot/Bot/HomeBot.csproj", - "projectName": "HomeBot", - "projectPath": "/home/marco/RiderProjects/so-un-bot/Bot/HomeBot.csproj", + "projectUniqueName": "/home/marco/RiderProjects/so-un-bot/Bot/SoUnBot.csproj", + "projectName": "SoUnBot", + "projectPath": "/home/marco/RiderProjects/so-un-bot/Bot/SoUnBot.csproj", "packagesPath": "/home/marco/.nuget/packages/", "outputPath": "/home/marco/RiderProjects/so-un-bot/Bot/obj/", "projectStyle": "PackageReference", @@ -265,7 +265,7 @@ "downloadDependencies": [ { "name": "Microsoft.AspNetCore.App.Ref", - "version": "[8.0.0, 8.0.0]" + "version": "[8.0.1, 8.0.1]" } ], "frameworkReferences": { @@ -273,7 +273,7 @@ "privateAssets": "all" } }, - "runtimeIdentifierGraphPath": "/usr/share/dotnet/sdk/8.0.100/PortableRuntimeIdentifierGraph.json" + "runtimeIdentifierGraphPath": "/usr/share/dotnet/sdk/8.0.101/PortableRuntimeIdentifierGraph.json" } } } diff --git a/Bot/obj/project.nuget.cache b/Bot/obj/project.nuget.cache index 0efad8f..c9794a6 100644 --- a/Bot/obj/project.nuget.cache +++ b/Bot/obj/project.nuget.cache @@ -1,15 +1,15 @@ { "version": 2, - "dgSpecHash": "LbYDmG/0ruay1tUd+Q4MedQzC9B+Yddw/z1JmGjWjzZy63Je9jlh27Ll1CzBUc8w9TMS7jcU6z56/VlozDSL1w==", + "dgSpecHash": "14ezpUWXpklegX6ueKmBLbaZ7zoadTut58taBGv4o+ffPSwU4PyfKxoECTdyCOu5nefDv+iE1m0OHxSaLmiqDg==", "success": true, - "projectFilePath": "/home/marco/RiderProjects/so-un-bot/Bot/HomeBot.csproj", + "projectFilePath": "/home/marco/RiderProjects/so-un-bot/Bot/SoUnBot.csproj", "expectedPackageFiles": [ "/home/marco/.nuget/packages/jetbrains.annotations/2021.3.0/jetbrains.annotations.2021.3.0.nupkg.sha512", "/home/marco/.nuget/packages/newtonsoft.json/13.0.1/newtonsoft.json.13.0.1.nupkg.sha512", "/home/marco/.nuget/packages/system.threading.channels/6.0.0/system.threading.channels.6.0.0.nupkg.sha512", "/home/marco/.nuget/packages/telegram.bot/17.0.0/telegram.bot.17.0.0.nupkg.sha512", "/home/marco/.nuget/packages/telegram.bot.extensions.polling/1.0.0/telegram.bot.extensions.polling.1.0.0.nupkg.sha512", - "/home/marco/.nuget/packages/microsoft.aspnetcore.app.ref/8.0.0/microsoft.aspnetcore.app.ref.8.0.0.nupkg.sha512" + "/home/marco/.nuget/packages/microsoft.aspnetcore.app.ref/8.0.1/microsoft.aspnetcore.app.ref.8.0.1.nupkg.sha512" ], "logs": [] } \ No newline at end of file diff --git a/Bot/obj/project.packagespec.json b/Bot/obj/project.packagespec.json index 81a92ec..4d46831 100644 --- a/Bot/obj/project.packagespec.json +++ b/Bot/obj/project.packagespec.json @@ -1 +1 @@ -"restore":{"projectUniqueName":"/home/marco/RiderProjects/so-un-bot/Bot/HomeBot.csproj","projectName":"HomeBot","projectPath":"/home/marco/RiderProjects/so-un-bot/Bot/HomeBot.csproj","outputPath":"/home/marco/RiderProjects/so-un-bot/Bot/obj/","projectStyle":"PackageReference","originalTargetFrameworks":["net8.0"],"sources":{"https://api.nuget.org/v3/index.json":{}},"frameworks":{"net8.0":{"targetAlias":"net8.0","projectReferences":{}}},"warningProperties":{"warnAsError":["NU1605"]}}"frameworks":{"net8.0":{"targetAlias":"net8.0","dependencies":{"Newtonsoft.Json":{"target":"Package","version":"[13.0.1, )"},"Telegram.Bot":{"target":"Package","version":"[17.0.0, )"},"Telegram.Bot.Extensions.Polling":{"target":"Package","version":"[1.0.0, )"}},"imports":["net461","net462","net47","net471","net472","net48","net481"],"assetTargetFallback":true,"warn":true,"downloadDependencies":[{"name":"Microsoft.AspNetCore.App.Ref","version":"[8.0.0, 8.0.0]"}],"frameworkReferences":{"Microsoft.NETCore.App":{"privateAssets":"all"}},"runtimeIdentifierGraphPath":"/usr/share/dotnet/sdk/8.0.100/PortableRuntimeIdentifierGraph.json"}} \ No newline at end of file +"restore":{"projectUniqueName":"/home/marco/RiderProjects/so-un-bot/Bot/SoUnBot.csproj","projectName":"SoUnBot","projectPath":"/home/marco/RiderProjects/so-un-bot/Bot/SoUnBot.csproj","outputPath":"/home/marco/RiderProjects/so-un-bot/Bot/obj/","projectStyle":"PackageReference","originalTargetFrameworks":["net8.0"],"sources":{"https://api.nuget.org/v3/index.json":{}},"frameworks":{"net8.0":{"targetAlias":"net8.0","projectReferences":{}}},"warningProperties":{"warnAsError":["NU1605"]}}"frameworks":{"net8.0":{"targetAlias":"net8.0","dependencies":{"Newtonsoft.Json":{"target":"Package","version":"[13.0.1, )"},"Telegram.Bot":{"target":"Package","version":"[17.0.0, )"},"Telegram.Bot.Extensions.Polling":{"target":"Package","version":"[1.0.0, )"}},"imports":["net461","net462","net47","net471","net472","net48","net481"],"assetTargetFallback":true,"warn":true,"downloadDependencies":[{"name":"Microsoft.AspNetCore.App.Ref","version":"[8.0.1, 8.0.1]"}],"frameworkReferences":{"Microsoft.NETCore.App":{"privateAssets":"all"}},"runtimeIdentifierGraphPath":"/usr/share/dotnet/sdk/8.0.101/PortableRuntimeIdentifierGraph.json"}} \ No newline at end of file diff --git a/Bot/obj/rider.project.model.nuget.info b/Bot/obj/rider.project.model.nuget.info index 6ad15cc..5d425a3 100644 --- a/Bot/obj/rider.project.model.nuget.info +++ b/Bot/obj/rider.project.model.nuget.info @@ -1 +1 @@ -17056229120899245 \ No newline at end of file +17056866144486474 \ No newline at end of file diff --git a/Bot/obj/rider.project.restore.info b/Bot/obj/rider.project.restore.info index 74319be..5d425a3 100644 --- a/Bot/obj/rider.project.restore.info +++ b/Bot/obj/rider.project.restore.info @@ -1 +1 @@ -17056276414728889 \ No newline at end of file +17056866144486474 \ No newline at end of file