From f9d87220d2a513a71ea3f55987b542e98dfae2d8 Mon Sep 17 00:00:00 2001 From: barelyprofessional <150058423+barelyprofessional@users.noreply.github.com> Date: Fri, 26 Jul 2024 16:50:39 +0800 Subject: [PATCH] Renamed the bot from KickBot -> ChatBot and removed the reference to Kick in the project name --- KfChatDotNet.sln | 2 +- .../ApplicationDbContext.cs | 4 ++-- .../KickBot.cs => KfChatDotNetBot/ChatBot.cs | 14 +++++++------- .../Commands/HowlggCommands.cs | 10 +++++----- .../Commands/ICommand.cs | 6 +++--- .../Commands/JuiceCommand.cs | 8 ++++---- .../Commands/MemeCommands.cs | 12 ++++++------ .../Commands/TimeCommand.cs | 6 +++--- .../Commands/WhoisCommand.cs | 6 +++--- .../Extensions.cs | 2 +- .../KfChatDotNetBot.csproj | 0 .../Migrations/20240714132259_Initial.Designer.cs | 4 ++-- .../Migrations/20240714132259_Initial.cs | 2 +- .../Migrations/20240716193646_Settings.Designer.cs | 4 ++-- .../Migrations/20240716193646_Settings.cs | 2 +- .../Migrations/20240717110408_Howlgg.Designer.cs | 4 ++-- .../Migrations/20240717110408_Howlgg.cs | 2 +- .../ApplicationDbContextModelSnapshot.cs | 4 ++-- .../Models/BuiltInSettingsModel.cs | 2 +- .../Models/ConfigModel.cs | 2 +- .../Models/DbModels/HowlggBetsDbModel.cs | 2 +- .../Models/DbModels/JuicerDbModel.cs | 2 +- .../Models/DbModels/SettingDbModel.cs | 2 +- .../Models/DbModels/UserDbModel.cs | 2 +- .../Models/HowlggModels.cs | 2 +- .../Models/JackpotModels.cs | 2 +- .../Models/PocketWatchModel.cs | 2 +- .../Models/ShuffleModels.cs | 2 +- .../Models/ThreeXplModels.cs | 2 +- .../NLog.config | 0 {KfChatDotNetKickBot => KfChatDotNetBot}/NLog.xsd | 0 .../Program.cs | 6 +++--- .../Services/BotCommands.cs | 8 ++++---- .../Services/Discord.cs | 2 +- .../Services/Howlgg.cs | 4 ++-- .../Services/Jackpot.cs | 4 ++-- .../Services/KfTokenService.cs | 2 +- .../Services/Shuffle.cs | 4 ++-- .../Services/ThreeXplPocketWatch.cs | 4 ++-- .../Services/Twitch.cs | 2 +- .../Services/TwitchChat.cs | 2 +- .../Settings/BuiltIn.cs | 6 +++--- .../Settings/Helpers.cs | 4 ++-- .../Settings/SettingValue.cs | 4 ++-- .../Settings/Utils.cs | 2 +- .../config.json | 0 46 files changed, 84 insertions(+), 84 deletions(-) rename {KfChatDotNetKickBot => KfChatDotNetBot}/ApplicationDbContext.cs (85%) rename KfChatDotNetKickBot/KickBot.cs => KfChatDotNetBot/ChatBot.cs (99%) rename {KfChatDotNetKickBot => KfChatDotNetBot}/Commands/HowlggCommands.cs (91%) rename {KfChatDotNetKickBot => KfChatDotNetBot}/Commands/ICommand.cs (66%) rename {KfChatDotNetKickBot => KfChatDotNetBot}/Commands/JuiceCommand.cs (91%) rename {KfChatDotNetKickBot => KfChatDotNetBot}/Commands/MemeCommands.cs (88%) rename {KfChatDotNetKickBot => KfChatDotNetBot}/Commands/TimeCommand.cs (83%) rename {KfChatDotNetKickBot => KfChatDotNetBot}/Commands/WhoisCommand.cs (87%) rename {KfChatDotNetKickBot => KfChatDotNetBot}/Extensions.cs (96%) rename KfChatDotNetKickBot/KfChatDotNetKickBot.csproj => KfChatDotNetBot/KfChatDotNetBot.csproj (100%) rename {KfChatDotNetKickBot => KfChatDotNetBot}/Migrations/20240714132259_Initial.Designer.cs (97%) rename {KfChatDotNetKickBot => KfChatDotNetBot}/Migrations/20240714132259_Initial.cs (98%) rename {KfChatDotNetKickBot => KfChatDotNetBot}/Migrations/20240716193646_Settings.Designer.cs (98%) rename {KfChatDotNetKickBot => KfChatDotNetBot}/Migrations/20240716193646_Settings.cs (97%) rename {KfChatDotNetKickBot => KfChatDotNetBot}/Migrations/20240717110408_Howlgg.Designer.cs (98%) rename {KfChatDotNetKickBot => KfChatDotNetBot}/Migrations/20240717110408_Howlgg.cs (97%) rename {KfChatDotNetKickBot => KfChatDotNetBot}/Migrations/ApplicationDbContextModelSnapshot.cs (98%) rename {KfChatDotNetKickBot => KfChatDotNetBot}/Models/BuiltInSettingsModel.cs (93%) rename {KfChatDotNetKickBot => KfChatDotNetBot}/Models/ConfigModel.cs (97%) rename {KfChatDotNetKickBot => KfChatDotNetBot}/Models/DbModels/HowlggBetsDbModel.cs (91%) rename {KfChatDotNetKickBot => KfChatDotNetBot}/Models/DbModels/JuicerDbModel.cs (80%) rename {KfChatDotNetKickBot => KfChatDotNetBot}/Models/DbModels/SettingDbModel.cs (93%) rename {KfChatDotNetKickBot => KfChatDotNetBot}/Models/DbModels/UserDbModel.cs (90%) rename {KfChatDotNetKickBot => KfChatDotNetBot}/Models/HowlggModels.cs (97%) rename {KfChatDotNetKickBot => KfChatDotNetBot}/Models/JackpotModels.cs (98%) rename {KfChatDotNetKickBot => KfChatDotNetBot}/Models/PocketWatchModel.cs (95%) rename {KfChatDotNetKickBot => KfChatDotNetBot}/Models/ShuffleModels.cs (98%) rename {KfChatDotNetKickBot => KfChatDotNetBot}/Models/ThreeXplModels.cs (97%) rename {KfChatDotNetKickBot => KfChatDotNetBot}/NLog.config (100%) rename {KfChatDotNetKickBot => KfChatDotNetBot}/NLog.xsd (100%) rename {KfChatDotNetKickBot => KfChatDotNetBot}/Program.cs (89%) rename {KfChatDotNetKickBot => KfChatDotNetBot}/Services/BotCommands.cs (94%) rename {KfChatDotNetKickBot => KfChatDotNetBot}/Services/Discord.cs (99%) rename {KfChatDotNetKickBot => KfChatDotNetBot}/Services/Howlgg.cs (98%) rename {KfChatDotNetKickBot => KfChatDotNetBot}/Services/Jackpot.cs (98%) rename {KfChatDotNetKickBot => KfChatDotNetBot}/Services/KfTokenService.cs (98%) rename {KfChatDotNetKickBot => KfChatDotNetBot}/Services/Shuffle.cs (99%) rename {KfChatDotNetKickBot => KfChatDotNetBot}/Services/ThreeXplPocketWatch.cs (96%) rename {KfChatDotNetKickBot => KfChatDotNetBot}/Services/Twitch.cs (99%) rename {KfChatDotNetKickBot => KfChatDotNetBot}/Services/TwitchChat.cs (99%) rename {KfChatDotNetKickBot => KfChatDotNetBot}/Settings/BuiltIn.cs (99%) rename {KfChatDotNetKickBot => KfChatDotNetBot}/Settings/Helpers.cs (98%) rename {KfChatDotNetKickBot => KfChatDotNetBot}/Settings/SettingValue.cs (68%) rename {KfChatDotNetKickBot => KfChatDotNetBot}/Settings/Utils.cs (97%) rename {KfChatDotNetKickBot => KfChatDotNetBot}/config.json (100%) diff --git a/KfChatDotNet.sln b/KfChatDotNet.sln index 33a8819..f64403b 100644 --- a/KfChatDotNet.sln +++ b/KfChatDotNet.sln @@ -8,7 +8,7 @@ Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "KfChatDotNetGui", "KfChatDo EndProject Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "KickWsClient", "KickWsClient\KickWsClient.csproj", "{DECBB95C-2C9F-44C2-AFA3-3741986FBA38}" EndProject -Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "KfChatDotNetKickBot", "KfChatDotNetKickBot\KfChatDotNetKickBot.csproj", "{4734E0A4-150E-4915-B905-928BB4BE3FF6}" +Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "KfChatDotNetBot", "KfChatDotNetBot\KfChatDotNetBot.csproj", "{4734E0A4-150E-4915-B905-928BB4BE3FF6}" EndProject Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "ThreeXplWsClient", "ThreeXplWsClient\ThreeXplWsClient.csproj", "{3D72D70A-48AD-4EE8-89DC-C78153EEA879}" EndProject diff --git a/KfChatDotNetKickBot/ApplicationDbContext.cs b/KfChatDotNetBot/ApplicationDbContext.cs similarity index 85% rename from KfChatDotNetKickBot/ApplicationDbContext.cs rename to KfChatDotNetBot/ApplicationDbContext.cs index af52872..05038b9 100644 --- a/KfChatDotNetKickBot/ApplicationDbContext.cs +++ b/KfChatDotNetBot/ApplicationDbContext.cs @@ -1,7 +1,7 @@ -using KfChatDotNetKickBot.Models.DbModels; +using KfChatDotNetBot.Models.DbModels; using Microsoft.EntityFrameworkCore; -namespace KfChatDotNetKickBot; +namespace KfChatDotNetBot; public class ApplicationDbContext : DbContext { diff --git a/KfChatDotNetKickBot/KickBot.cs b/KfChatDotNetBot/ChatBot.cs similarity index 99% rename from KfChatDotNetKickBot/KickBot.cs rename to KfChatDotNetBot/ChatBot.cs index 51091bf..012cbe6 100644 --- a/KfChatDotNetKickBot/KickBot.cs +++ b/KfChatDotNetBot/ChatBot.cs @@ -1,7 +1,7 @@ -using KfChatDotNetKickBot.Models; -using KfChatDotNetKickBot.Models.DbModels; -using KfChatDotNetKickBot.Services; -using KfChatDotNetKickBot.Settings; +using KfChatDotNetBot.Models; +using KfChatDotNetBot.Models.DbModels; +using KfChatDotNetBot.Services; +using KfChatDotNetBot.Settings; using KfChatDotNetWsClient; using KfChatDotNetWsClient.Models; using KfChatDotNetWsClient.Models.Events; @@ -10,9 +10,9 @@ using KickWsClient.Models; using NLog; using Websocket.Client; -namespace KfChatDotNetKickBot; +namespace KfChatDotNetBot; -public class KickBot +public class ChatBot { internal readonly ChatClient KfClient; private readonly KickWsClient.KickWsClient _kickClient; @@ -42,7 +42,7 @@ public class KickBot private Task _websocketWatchdog; private Jackpot _jackpot; - public KickBot() + public ChatBot() { _logger.Info("Bot starting!"); diff --git a/KfChatDotNetKickBot/Commands/HowlggCommands.cs b/KfChatDotNetBot/Commands/HowlggCommands.cs similarity index 91% rename from KfChatDotNetKickBot/Commands/HowlggCommands.cs rename to KfChatDotNetBot/Commands/HowlggCommands.cs index 4a451fe..45dc41b 100644 --- a/KfChatDotNetKickBot/Commands/HowlggCommands.cs +++ b/KfChatDotNetBot/Commands/HowlggCommands.cs @@ -1,11 +1,11 @@ using System.Text.RegularExpressions; using Humanizer; -using KfChatDotNetKickBot.Models.DbModels; -using KfChatDotNetKickBot.Settings; +using KfChatDotNetBot.Models.DbModels; +using KfChatDotNetBot.Settings; using KfChatDotNetWsClient.Models.Events; using Microsoft.EntityFrameworkCore; -namespace KfChatDotNetKickBot.Commands; +namespace KfChatDotNetBot.Commands; public class HowlggStatsCommand : ICommand { @@ -15,7 +15,7 @@ public class HowlggStatsCommand : ICommand public string HelpText => "Get betting statistics in the given window"; public bool HideFromHelp => false; public UserRight RequiredRight => UserRight.Guest; - public async Task RunCommand(KickBot botInstance, MessageModel message, GroupCollection arguments, CancellationToken ctx) + public async Task RunCommand(ChatBot botInstance, MessageModel message, GroupCollection arguments, CancellationToken ctx) { var window = Convert.ToInt32(arguments["window"].Value); var start = DateTimeOffset.UtcNow.AddHours(-window); @@ -42,7 +42,7 @@ public class HowlggRecentBetCommand : ICommand public string HelpText => "Get the most recent 3 bets"; public bool HideFromHelp => false; public UserRight RequiredRight => UserRight.Guest; - public async Task RunCommand(KickBot botInstance, MessageModel message, GroupCollection arguments, CancellationToken ctx) + public async Task RunCommand(ChatBot botInstance, MessageModel message, GroupCollection arguments, CancellationToken ctx) { var settings = await Helpers.GetMultipleValues([ BuiltIn.Keys.KiwiFarmsGreenColor, BuiltIn.Keys.KiwiFarmsRedColor, BuiltIn.Keys.HowlggDivisionAmount diff --git a/KfChatDotNetKickBot/Commands/ICommand.cs b/KfChatDotNetBot/Commands/ICommand.cs similarity index 66% rename from KfChatDotNetKickBot/Commands/ICommand.cs rename to KfChatDotNetBot/Commands/ICommand.cs index 2b8b81b..95801c1 100644 --- a/KfChatDotNetKickBot/Commands/ICommand.cs +++ b/KfChatDotNetBot/Commands/ICommand.cs @@ -1,8 +1,8 @@ using System.Text.RegularExpressions; -using KfChatDotNetKickBot.Models.DbModels; +using KfChatDotNetBot.Models.DbModels; using KfChatDotNetWsClient.Models.Events; -namespace KfChatDotNetKickBot.Commands; +namespace KfChatDotNetBot.Commands; internal interface ICommand { @@ -11,5 +11,5 @@ internal interface ICommand bool HideFromHelp { get; } UserRight RequiredRight { get; } - Task RunCommand(KickBot botInstance, MessageModel message, GroupCollection arguments, CancellationToken ctx); + Task RunCommand(ChatBot botInstance, MessageModel message, GroupCollection arguments, CancellationToken ctx); } \ No newline at end of file diff --git a/KfChatDotNetKickBot/Commands/JuiceCommand.cs b/KfChatDotNetBot/Commands/JuiceCommand.cs similarity index 91% rename from KfChatDotNetKickBot/Commands/JuiceCommand.cs rename to KfChatDotNetBot/Commands/JuiceCommand.cs index c2f8f1f..aab634f 100644 --- a/KfChatDotNetKickBot/Commands/JuiceCommand.cs +++ b/KfChatDotNetBot/Commands/JuiceCommand.cs @@ -1,11 +1,11 @@ using System.Text.RegularExpressions; using Humanizer; -using KfChatDotNetKickBot.Models.DbModels; -using KfChatDotNetKickBot.Settings; +using KfChatDotNetBot.Models.DbModels; +using KfChatDotNetBot.Settings; using KfChatDotNetWsClient.Models.Events; using Microsoft.EntityFrameworkCore; -namespace KfChatDotNetKickBot.Commands; +namespace KfChatDotNetBot.Commands; public class JuiceCommand : ICommand { @@ -13,7 +13,7 @@ public class JuiceCommand : ICommand public string HelpText => "Get juice!"; public bool HideFromHelp => false; public UserRight RequiredRight => UserRight.Guest; - public async Task RunCommand(KickBot botInstance, MessageModel message, GroupCollection arguments, CancellationToken ctx) + public async Task RunCommand(ChatBot botInstance, MessageModel message, GroupCollection arguments, CancellationToken ctx) { await using var db = new ApplicationDbContext(); var user = await db.Users.FirstOrDefaultAsync(u => u.KfId == message.Author.Id, cancellationToken: ctx); diff --git a/KfChatDotNetKickBot/Commands/MemeCommands.cs b/KfChatDotNetBot/Commands/MemeCommands.cs similarity index 88% rename from KfChatDotNetKickBot/Commands/MemeCommands.cs rename to KfChatDotNetBot/Commands/MemeCommands.cs index 67ecfc1..82885e5 100644 --- a/KfChatDotNetKickBot/Commands/MemeCommands.cs +++ b/KfChatDotNetBot/Commands/MemeCommands.cs @@ -1,8 +1,8 @@ using System.Text.RegularExpressions; -using KfChatDotNetKickBot.Models.DbModels; +using KfChatDotNetBot.Models.DbModels; using KfChatDotNetWsClient.Models.Events; -namespace KfChatDotNetKickBot.Commands; +namespace KfChatDotNetBot.Commands; public class InsanityCommand : ICommand { @@ -11,7 +11,7 @@ public class InsanityCommand : ICommand public bool HideFromHelp => false; public UserRight RequiredRight => UserRight.Guest; - public async Task RunCommand(KickBot botInstance, MessageModel message, GroupCollection arguments, CancellationToken ctx) + public async Task RunCommand(ChatBot botInstance, MessageModel message, GroupCollection arguments, CancellationToken ctx) { // ReSharper disable once StringLiteralTypo botInstance.SendChatMessage("definition of insanity = doing the same thing over and over and over excecting a different result, and heres my dumbass trying to get rich every day and losing everythign i fucking touch every fucking time FUCK this bullshit FUCK MY LIEFdefinition of insanity = doing the same thing over and over and over excecting a different result, and heres my dumbass trying to get rich every day and losing everythign i fucking touch every fucking time FUCK this bullshit FUCK MY LIEF"); @@ -25,7 +25,7 @@ public class TwistedCommand : ICommand public bool HideFromHelp => false; public UserRight RequiredRight => UserRight.Guest; - public async Task RunCommand(KickBot botInstance, MessageModel message, GroupCollection arguments, CancellationToken ctx) + public async Task RunCommand(ChatBot botInstance, MessageModel message, GroupCollection arguments, CancellationToken ctx) { // ReSharper disable once StringLiteralTypo botInstance.SendChatMessage("🦍 🗣 GET IT TWISTED 🌪 , GAMBLE ✅ . PLEASE START GAMBLING 👍 . GAMBLING IS AN INVESTMENT 🎰 AND AN INVESTMENT ONLY 👍 . YOU WILL PROFIT 💰 , YOU WILL WIN ❗ ️. YOU WILL DO ALL OF THAT 💯 , YOU UNDERSTAND ⁉ ️ YOU WILL BECOME A BILLIONAIRE 💵 📈 AND REBUILD YOUR FUCKING LIFE 🤯"); @@ -39,7 +39,7 @@ public class HelpMeCommand : ICommand public bool HideFromHelp => false; public UserRight RequiredRight => UserRight.Guest; - public async Task RunCommand(KickBot botInstance, MessageModel message, GroupCollection arguments, CancellationToken ctx) + public async Task RunCommand(ChatBot botInstance, MessageModel message, GroupCollection arguments, CancellationToken ctx) { // ReSharper disable once StringLiteralTypo botInstance.SendChatMessage("[img]https://i.postimg.cc/fTw6tGWZ/ineedmoneydumbfuck.png[/img]", true); @@ -53,7 +53,7 @@ public class SentCommand : ICommand public bool HideFromHelp => false; public UserRight RequiredRight => UserRight.Guest; - public async Task RunCommand(KickBot botInstance, MessageModel message, GroupCollection arguments, CancellationToken ctx) + public async Task RunCommand(ChatBot botInstance, MessageModel message, GroupCollection arguments, CancellationToken ctx) { // ReSharper disable once StringLiteralTypo botInstance.SendChatMessage("[img]https://i.ibb.co/GHq7hb1/4373-g-N5-HEH2-Hkc.png[/img]", true); diff --git a/KfChatDotNetKickBot/Commands/TimeCommand.cs b/KfChatDotNetBot/Commands/TimeCommand.cs similarity index 83% rename from KfChatDotNetKickBot/Commands/TimeCommand.cs rename to KfChatDotNetBot/Commands/TimeCommand.cs index 14677b3..b0256c7 100644 --- a/KfChatDotNetKickBot/Commands/TimeCommand.cs +++ b/KfChatDotNetBot/Commands/TimeCommand.cs @@ -1,8 +1,8 @@ using System.Text.RegularExpressions; -using KfChatDotNetKickBot.Models.DbModels; +using KfChatDotNetBot.Models.DbModels; using KfChatDotNetWsClient.Models.Events; -namespace KfChatDotNetKickBot.Commands; +namespace KfChatDotNetBot.Commands; public class TimeCommand : ICommand { @@ -11,7 +11,7 @@ public class TimeCommand : ICommand public bool HideFromHelp => false; public UserRight RequiredRight => UserRight.Guest; - public async Task RunCommand(KickBot botInstance, MessageModel message, GroupCollection arguments, CancellationToken ctx) + public async Task RunCommand(ChatBot botInstance, MessageModel message, GroupCollection arguments, CancellationToken ctx) { var bmt = new DateTimeOffset(TimeZoneInfo.ConvertTimeFromUtc(DateTime.UtcNow, TimeZoneInfo.FindSystemTimeZoneById("Eastern Standard Time")), TimeZoneInfo.FindSystemTimeZoneById("Eastern Standard Time").BaseUtcOffset); diff --git a/KfChatDotNetKickBot/Commands/WhoisCommand.cs b/KfChatDotNetBot/Commands/WhoisCommand.cs similarity index 87% rename from KfChatDotNetKickBot/Commands/WhoisCommand.cs rename to KfChatDotNetBot/Commands/WhoisCommand.cs index 2f389c9..78a0f94 100644 --- a/KfChatDotNetKickBot/Commands/WhoisCommand.cs +++ b/KfChatDotNetBot/Commands/WhoisCommand.cs @@ -1,9 +1,9 @@ using System.Text.RegularExpressions; -using KfChatDotNetKickBot.Models.DbModels; +using KfChatDotNetBot.Models.DbModels; using KfChatDotNetWsClient.Models.Events; using Microsoft.EntityFrameworkCore; -namespace KfChatDotNetKickBot.Commands; +namespace KfChatDotNetBot.Commands; public class WhoisCommand : ICommand { @@ -15,7 +15,7 @@ public class WhoisCommand : ICommand public bool HideFromHelp => false; public UserRight RequiredRight => UserRight.Guest; - public async Task RunCommand(KickBot botInstance, MessageModel message, GroupCollection arguments, CancellationToken ctx) + public async Task RunCommand(ChatBot botInstance, MessageModel message, GroupCollection arguments, CancellationToken ctx) { await using var db = new ApplicationDbContext(); var query = arguments["user"].Value.TrimStart('@').TrimEnd(',').TrimEnd(); diff --git a/KfChatDotNetKickBot/Extensions.cs b/KfChatDotNetBot/Extensions.cs similarity index 96% rename from KfChatDotNetKickBot/Extensions.cs rename to KfChatDotNetBot/Extensions.cs index 761d795..5918621 100644 --- a/KfChatDotNetKickBot/Extensions.cs +++ b/KfChatDotNetBot/Extensions.cs @@ -1,6 +1,6 @@ using System.Text.RegularExpressions; -namespace KfChatDotNetKickBot; +namespace KfChatDotNetBot; public static class Extensions { diff --git a/KfChatDotNetKickBot/KfChatDotNetKickBot.csproj b/KfChatDotNetBot/KfChatDotNetBot.csproj similarity index 100% rename from KfChatDotNetKickBot/KfChatDotNetKickBot.csproj rename to KfChatDotNetBot/KfChatDotNetBot.csproj diff --git a/KfChatDotNetKickBot/Migrations/20240714132259_Initial.Designer.cs b/KfChatDotNetBot/Migrations/20240714132259_Initial.Designer.cs similarity index 97% rename from KfChatDotNetKickBot/Migrations/20240714132259_Initial.Designer.cs rename to KfChatDotNetBot/Migrations/20240714132259_Initial.Designer.cs index 512d677..eb5a175 100644 --- a/KfChatDotNetKickBot/Migrations/20240714132259_Initial.Designer.cs +++ b/KfChatDotNetBot/Migrations/20240714132259_Initial.Designer.cs @@ -1,6 +1,6 @@ // using System; -using KfChatDotNetKickBot; +using KfChatDotNetBot; using Microsoft.EntityFrameworkCore; using Microsoft.EntityFrameworkCore.Infrastructure; using Microsoft.EntityFrameworkCore.Migrations; @@ -8,7 +8,7 @@ using Microsoft.EntityFrameworkCore.Storage.ValueConversion; #nullable disable -namespace KfChatDotNetKickBot.Migrations +namespace KfChatDotNetBot.Migrations { [DbContext(typeof(ApplicationDbContext))] [Migration("20240714132259_Initial")] diff --git a/KfChatDotNetKickBot/Migrations/20240714132259_Initial.cs b/KfChatDotNetBot/Migrations/20240714132259_Initial.cs similarity index 98% rename from KfChatDotNetKickBot/Migrations/20240714132259_Initial.cs rename to KfChatDotNetBot/Migrations/20240714132259_Initial.cs index 3200e7a..752a76e 100644 --- a/KfChatDotNetKickBot/Migrations/20240714132259_Initial.cs +++ b/KfChatDotNetBot/Migrations/20240714132259_Initial.cs @@ -3,7 +3,7 @@ using Microsoft.EntityFrameworkCore.Migrations; #nullable disable -namespace KfChatDotNetKickBot.Migrations +namespace KfChatDotNetBot.Migrations { /// public partial class Initial : Migration diff --git a/KfChatDotNetKickBot/Migrations/20240716193646_Settings.Designer.cs b/KfChatDotNetBot/Migrations/20240716193646_Settings.Designer.cs similarity index 98% rename from KfChatDotNetKickBot/Migrations/20240716193646_Settings.Designer.cs rename to KfChatDotNetBot/Migrations/20240716193646_Settings.Designer.cs index 7c117c9..fb87763 100644 --- a/KfChatDotNetKickBot/Migrations/20240716193646_Settings.Designer.cs +++ b/KfChatDotNetBot/Migrations/20240716193646_Settings.Designer.cs @@ -1,6 +1,6 @@ // using System; -using KfChatDotNetKickBot; +using KfChatDotNetBot; using Microsoft.EntityFrameworkCore; using Microsoft.EntityFrameworkCore.Infrastructure; using Microsoft.EntityFrameworkCore.Migrations; @@ -8,7 +8,7 @@ using Microsoft.EntityFrameworkCore.Storage.ValueConversion; #nullable disable -namespace KfChatDotNetKickBot.Migrations +namespace KfChatDotNetBot.Migrations { [DbContext(typeof(ApplicationDbContext))] [Migration("20240716193646_Settings")] diff --git a/KfChatDotNetKickBot/Migrations/20240716193646_Settings.cs b/KfChatDotNetBot/Migrations/20240716193646_Settings.cs similarity index 97% rename from KfChatDotNetKickBot/Migrations/20240716193646_Settings.cs rename to KfChatDotNetBot/Migrations/20240716193646_Settings.cs index 8a82052..e61d316 100644 --- a/KfChatDotNetKickBot/Migrations/20240716193646_Settings.cs +++ b/KfChatDotNetBot/Migrations/20240716193646_Settings.cs @@ -2,7 +2,7 @@ #nullable disable -namespace KfChatDotNetKickBot.Migrations +namespace KfChatDotNetBot.Migrations { /// public partial class Settings : Migration diff --git a/KfChatDotNetKickBot/Migrations/20240717110408_Howlgg.Designer.cs b/KfChatDotNetBot/Migrations/20240717110408_Howlgg.Designer.cs similarity index 98% rename from KfChatDotNetKickBot/Migrations/20240717110408_Howlgg.Designer.cs rename to KfChatDotNetBot/Migrations/20240717110408_Howlgg.Designer.cs index ea035aa..906f9b5 100644 --- a/KfChatDotNetKickBot/Migrations/20240717110408_Howlgg.Designer.cs +++ b/KfChatDotNetBot/Migrations/20240717110408_Howlgg.Designer.cs @@ -1,6 +1,6 @@ // using System; -using KfChatDotNetKickBot; +using KfChatDotNetBot; using Microsoft.EntityFrameworkCore; using Microsoft.EntityFrameworkCore.Infrastructure; using Microsoft.EntityFrameworkCore.Migrations; @@ -8,7 +8,7 @@ using Microsoft.EntityFrameworkCore.Storage.ValueConversion; #nullable disable -namespace KfChatDotNetKickBot.Migrations +namespace KfChatDotNetBot.Migrations { [DbContext(typeof(ApplicationDbContext))] [Migration("20240717110408_Howlgg")] diff --git a/KfChatDotNetKickBot/Migrations/20240717110408_Howlgg.cs b/KfChatDotNetBot/Migrations/20240717110408_Howlgg.cs similarity index 97% rename from KfChatDotNetKickBot/Migrations/20240717110408_Howlgg.cs rename to KfChatDotNetBot/Migrations/20240717110408_Howlgg.cs index c03546b..e1824e2 100644 --- a/KfChatDotNetKickBot/Migrations/20240717110408_Howlgg.cs +++ b/KfChatDotNetBot/Migrations/20240717110408_Howlgg.cs @@ -3,7 +3,7 @@ using Microsoft.EntityFrameworkCore.Migrations; #nullable disable -namespace KfChatDotNetKickBot.Migrations +namespace KfChatDotNetBot.Migrations { /// public partial class Howlgg : Migration diff --git a/KfChatDotNetKickBot/Migrations/ApplicationDbContextModelSnapshot.cs b/KfChatDotNetBot/Migrations/ApplicationDbContextModelSnapshot.cs similarity index 98% rename from KfChatDotNetKickBot/Migrations/ApplicationDbContextModelSnapshot.cs rename to KfChatDotNetBot/Migrations/ApplicationDbContextModelSnapshot.cs index 14e2d24..c566c0b 100644 --- a/KfChatDotNetKickBot/Migrations/ApplicationDbContextModelSnapshot.cs +++ b/KfChatDotNetBot/Migrations/ApplicationDbContextModelSnapshot.cs @@ -1,13 +1,13 @@ // using System; -using KfChatDotNetKickBot; +using KfChatDotNetBot; using Microsoft.EntityFrameworkCore; using Microsoft.EntityFrameworkCore.Infrastructure; using Microsoft.EntityFrameworkCore.Storage.ValueConversion; #nullable disable -namespace KfChatDotNetKickBot.Migrations +namespace KfChatDotNetBot.Migrations { [DbContext(typeof(ApplicationDbContext))] partial class ApplicationDbContextModelSnapshot : ModelSnapshot diff --git a/KfChatDotNetKickBot/Models/BuiltInSettingsModel.cs b/KfChatDotNetBot/Models/BuiltInSettingsModel.cs similarity index 93% rename from KfChatDotNetKickBot/Models/BuiltInSettingsModel.cs rename to KfChatDotNetBot/Models/BuiltInSettingsModel.cs index f16d9e8..3b4239c 100644 --- a/KfChatDotNetKickBot/Models/BuiltInSettingsModel.cs +++ b/KfChatDotNetBot/Models/BuiltInSettingsModel.cs @@ -1,4 +1,4 @@ -namespace KfChatDotNetKickBot.Models; +namespace KfChatDotNetBot.Models; public class BuiltInSettingsModel { diff --git a/KfChatDotNetKickBot/Models/ConfigModel.cs b/KfChatDotNetBot/Models/ConfigModel.cs similarity index 97% rename from KfChatDotNetKickBot/Models/ConfigModel.cs rename to KfChatDotNetBot/Models/ConfigModel.cs index 68d99c1..88b9daa 100644 --- a/KfChatDotNetKickBot/Models/ConfigModel.cs +++ b/KfChatDotNetBot/Models/ConfigModel.cs @@ -1,4 +1,4 @@ -namespace KfChatDotNetKickBot.Models; +namespace KfChatDotNetBot.Models; [Obsolete] public class ConfigModel diff --git a/KfChatDotNetKickBot/Models/DbModels/HowlggBetsDbModel.cs b/KfChatDotNetBot/Models/DbModels/HowlggBetsDbModel.cs similarity index 91% rename from KfChatDotNetKickBot/Models/DbModels/HowlggBetsDbModel.cs rename to KfChatDotNetBot/Models/DbModels/HowlggBetsDbModel.cs index aa3a91f..d7f2686 100644 --- a/KfChatDotNetKickBot/Models/DbModels/HowlggBetsDbModel.cs +++ b/KfChatDotNetBot/Models/DbModels/HowlggBetsDbModel.cs @@ -1,4 +1,4 @@ -namespace KfChatDotNetKickBot.Models.DbModels; +namespace KfChatDotNetBot.Models.DbModels; public class HowlggBetsDbModel { diff --git a/KfChatDotNetKickBot/Models/DbModels/JuicerDbModel.cs b/KfChatDotNetBot/Models/DbModels/JuicerDbModel.cs similarity index 80% rename from KfChatDotNetKickBot/Models/DbModels/JuicerDbModel.cs rename to KfChatDotNetBot/Models/DbModels/JuicerDbModel.cs index ca23785..22d53df 100644 --- a/KfChatDotNetKickBot/Models/DbModels/JuicerDbModel.cs +++ b/KfChatDotNetBot/Models/DbModels/JuicerDbModel.cs @@ -1,4 +1,4 @@ -namespace KfChatDotNetKickBot.Models.DbModels; +namespace KfChatDotNetBot.Models.DbModels; public class JuicerDbModel { diff --git a/KfChatDotNetKickBot/Models/DbModels/SettingDbModel.cs b/KfChatDotNetBot/Models/DbModels/SettingDbModel.cs similarity index 93% rename from KfChatDotNetKickBot/Models/DbModels/SettingDbModel.cs rename to KfChatDotNetBot/Models/DbModels/SettingDbModel.cs index 80e5177..dc50327 100644 --- a/KfChatDotNetKickBot/Models/DbModels/SettingDbModel.cs +++ b/KfChatDotNetBot/Models/DbModels/SettingDbModel.cs @@ -1,6 +1,6 @@ using System.ComponentModel.DataAnnotations.Schema; -namespace KfChatDotNetKickBot.Models.DbModels; +namespace KfChatDotNetBot.Models.DbModels; public class SettingDbModel { diff --git a/KfChatDotNetKickBot/Models/DbModels/UserDbModel.cs b/KfChatDotNetBot/Models/DbModels/UserDbModel.cs similarity index 90% rename from KfChatDotNetKickBot/Models/DbModels/UserDbModel.cs rename to KfChatDotNetBot/Models/DbModels/UserDbModel.cs index 6deb5dd..5aeaafe 100644 --- a/KfChatDotNetKickBot/Models/DbModels/UserDbModel.cs +++ b/KfChatDotNetBot/Models/DbModels/UserDbModel.cs @@ -1,6 +1,6 @@ using System.ComponentModel; -namespace KfChatDotNetKickBot.Models.DbModels; +namespace KfChatDotNetBot.Models.DbModels; public class UserDbModel { diff --git a/KfChatDotNetKickBot/Models/HowlggModels.cs b/KfChatDotNetBot/Models/HowlggModels.cs similarity index 97% rename from KfChatDotNetKickBot/Models/HowlggModels.cs rename to KfChatDotNetBot/Models/HowlggModels.cs index 63d3340..b781c3b 100644 --- a/KfChatDotNetKickBot/Models/HowlggModels.cs +++ b/KfChatDotNetBot/Models/HowlggModels.cs @@ -1,6 +1,6 @@ using System.Text.Json.Serialization; -namespace KfChatDotNetKickBot.Models; +namespace KfChatDotNetBot.Models; public class HowlggBetHistoryResponseModel { diff --git a/KfChatDotNetKickBot/Models/JackpotModels.cs b/KfChatDotNetBot/Models/JackpotModels.cs similarity index 98% rename from KfChatDotNetKickBot/Models/JackpotModels.cs rename to KfChatDotNetBot/Models/JackpotModels.cs index d1cb88b..a0d1d2a 100644 --- a/KfChatDotNetKickBot/Models/JackpotModels.cs +++ b/KfChatDotNetBot/Models/JackpotModels.cs @@ -1,7 +1,7 @@ using System.Text.Json; using System.Text.Json.Serialization; -namespace KfChatDotNetKickBot.Models; +namespace KfChatDotNetBot.Models; public class JackpotWsPacketModel { diff --git a/KfChatDotNetKickBot/Models/PocketWatchModel.cs b/KfChatDotNetBot/Models/PocketWatchModel.cs similarity index 95% rename from KfChatDotNetKickBot/Models/PocketWatchModel.cs rename to KfChatDotNetBot/Models/PocketWatchModel.cs index 0deb6bb..dcbe32a 100644 --- a/KfChatDotNetKickBot/Models/PocketWatchModel.cs +++ b/KfChatDotNetBot/Models/PocketWatchModel.cs @@ -1,4 +1,4 @@ -namespace KfChatDotNetKickBot.Models; +namespace KfChatDotNetBot.Models; public class PocketWatchModel { diff --git a/KfChatDotNetKickBot/Models/ShuffleModels.cs b/KfChatDotNetBot/Models/ShuffleModels.cs similarity index 98% rename from KfChatDotNetKickBot/Models/ShuffleModels.cs rename to KfChatDotNetBot/Models/ShuffleModels.cs index 1ae9e3f..9a34651 100644 --- a/KfChatDotNetKickBot/Models/ShuffleModels.cs +++ b/KfChatDotNetBot/Models/ShuffleModels.cs @@ -1,6 +1,6 @@ using System.Text.Json.Serialization; -namespace KfChatDotNetKickBot.Models; +namespace KfChatDotNetBot.Models; public class ShuffleLatestBetModel { diff --git a/KfChatDotNetKickBot/Models/ThreeXplModels.cs b/KfChatDotNetBot/Models/ThreeXplModels.cs similarity index 97% rename from KfChatDotNetKickBot/Models/ThreeXplModels.cs rename to KfChatDotNetBot/Models/ThreeXplModels.cs index 4311f62..115ed87 100644 --- a/KfChatDotNetKickBot/Models/ThreeXplModels.cs +++ b/KfChatDotNetBot/Models/ThreeXplModels.cs @@ -1,6 +1,6 @@ using System.Text.Json.Serialization; -namespace KfChatDotNetKickBot.Models; +namespace KfChatDotNetBot.Models; public class ThreeXplEventModel { diff --git a/KfChatDotNetKickBot/NLog.config b/KfChatDotNetBot/NLog.config similarity index 100% rename from KfChatDotNetKickBot/NLog.config rename to KfChatDotNetBot/NLog.config diff --git a/KfChatDotNetKickBot/NLog.xsd b/KfChatDotNetBot/NLog.xsd similarity index 100% rename from KfChatDotNetKickBot/NLog.xsd rename to KfChatDotNetBot/NLog.xsd diff --git a/KfChatDotNetKickBot/Program.cs b/KfChatDotNetBot/Program.cs similarity index 89% rename from KfChatDotNetKickBot/Program.cs rename to KfChatDotNetBot/Program.cs index a1377db..84fc55f 100644 --- a/KfChatDotNetKickBot/Program.cs +++ b/KfChatDotNetBot/Program.cs @@ -1,9 +1,9 @@ using System.Text; -using KfChatDotNetKickBot.Settings; +using KfChatDotNetBot.Settings; using Microsoft.EntityFrameworkCore; using NLog; -namespace KfChatDotNetKickBot +namespace KfChatDotNetBot { public class Program { @@ -19,7 +19,7 @@ namespace KfChatDotNetKickBot BuiltIn.MigrateJsonSettingsToDb().Wait(); logger.Info("Handing over to bot now"); Console.OutputEncoding = Encoding.UTF8; - new KickBot(); + new ChatBot(); } } } \ No newline at end of file diff --git a/KfChatDotNetKickBot/Services/BotCommands.cs b/KfChatDotNetBot/Services/BotCommands.cs similarity index 94% rename from KfChatDotNetKickBot/Services/BotCommands.cs rename to KfChatDotNetBot/Services/BotCommands.cs index 0b2332b..2bce4bd 100644 --- a/KfChatDotNetKickBot/Services/BotCommands.cs +++ b/KfChatDotNetBot/Services/BotCommands.cs @@ -1,22 +1,22 @@ using Humanizer; -using KfChatDotNetKickBot.Commands; +using KfChatDotNetBot.Commands; using KfChatDotNetWsClient.Models.Events; using NLog; -namespace KfChatDotNetKickBot.Services; +namespace KfChatDotNetBot.Services; // Took one look at GambaSesh's code, and it made my head explode // This implementation is inspired by similar bot I wrote years ago internal class BotCommands { - private KickBot _bot; + private ChatBot _bot; private Logger _logger = LogManager.GetCurrentClassLogger(); private char CommandPrefix = '!'; private IEnumerable Commands; private CancellationToken _cancellationToken; private List _commandTasks = []; - internal BotCommands(KickBot bot, CancellationToken? ctx = null) + internal BotCommands(ChatBot bot, CancellationToken? ctx = null) { _cancellationToken = ctx ?? CancellationToken.None; _bot = bot; diff --git a/KfChatDotNetKickBot/Services/Discord.cs b/KfChatDotNetBot/Services/Discord.cs similarity index 99% rename from KfChatDotNetKickBot/Services/Discord.cs rename to KfChatDotNetBot/Services/Discord.cs index b6a9f08..101e123 100644 --- a/KfChatDotNetKickBot/Services/Discord.cs +++ b/KfChatDotNetBot/Services/Discord.cs @@ -5,7 +5,7 @@ using System.Text.Json.Serialization; using NLog; using Websocket.Client; -namespace KfChatDotNetKickBot.Services; +namespace KfChatDotNetBot.Services; public class DiscordService : IDisposable { diff --git a/KfChatDotNetKickBot/Services/Howlgg.cs b/KfChatDotNetBot/Services/Howlgg.cs similarity index 98% rename from KfChatDotNetKickBot/Services/Howlgg.cs rename to KfChatDotNetBot/Services/Howlgg.cs index c59005a..84a8071 100644 --- a/KfChatDotNetKickBot/Services/Howlgg.cs +++ b/KfChatDotNetBot/Services/Howlgg.cs @@ -1,11 +1,11 @@ using System.Net; using System.Net.WebSockets; using System.Text.Json; -using KfChatDotNetKickBot.Models; +using KfChatDotNetBot.Models; using NLog; using Websocket.Client; -namespace KfChatDotNetKickBot.Services; +namespace KfChatDotNetBot.Services; public class Howlgg : IDisposable { diff --git a/KfChatDotNetKickBot/Services/Jackpot.cs b/KfChatDotNetBot/Services/Jackpot.cs similarity index 98% rename from KfChatDotNetKickBot/Services/Jackpot.cs rename to KfChatDotNetBot/Services/Jackpot.cs index 9eb5a8d..24c2aaf 100644 --- a/KfChatDotNetKickBot/Services/Jackpot.cs +++ b/KfChatDotNetBot/Services/Jackpot.cs @@ -2,11 +2,11 @@ using System.Net.Http.Json; using System.Net.WebSockets; using System.Text.Json; -using KfChatDotNetKickBot.Models; +using KfChatDotNetBot.Models; using NLog; using Websocket.Client; -namespace KfChatDotNetKickBot.Services; +namespace KfChatDotNetBot.Services; public class Jackpot : IDisposable { diff --git a/KfChatDotNetKickBot/Services/KfTokenService.cs b/KfChatDotNetBot/Services/KfTokenService.cs similarity index 98% rename from KfChatDotNetKickBot/Services/KfTokenService.cs rename to KfChatDotNetBot/Services/KfTokenService.cs index 2a3e96e..f91f4ce 100644 --- a/KfChatDotNetKickBot/Services/KfTokenService.cs +++ b/KfChatDotNetBot/Services/KfTokenService.cs @@ -3,7 +3,7 @@ using System.Text.Json; using NLog; using PuppeteerSharp; -namespace KfChatDotNetKickBot.Services; +namespace KfChatDotNetBot.Services; public class KfTokenService { diff --git a/KfChatDotNetKickBot/Services/Shuffle.cs b/KfChatDotNetBot/Services/Shuffle.cs similarity index 99% rename from KfChatDotNetKickBot/Services/Shuffle.cs rename to KfChatDotNetBot/Services/Shuffle.cs index e5e64c9..25a8691 100644 --- a/KfChatDotNetKickBot/Services/Shuffle.cs +++ b/KfChatDotNetBot/Services/Shuffle.cs @@ -2,11 +2,11 @@ using System.Net.Http.Json; using System.Net.WebSockets; using System.Text.Json; -using KfChatDotNetKickBot.Models; +using KfChatDotNetBot.Models; using NLog; using Websocket.Client; -namespace KfChatDotNetKickBot.Services; +namespace KfChatDotNetBot.Services; public class Shuffle : IDisposable { diff --git a/KfChatDotNetKickBot/Services/ThreeXplPocketWatch.cs b/KfChatDotNetBot/Services/ThreeXplPocketWatch.cs similarity index 96% rename from KfChatDotNetKickBot/Services/ThreeXplPocketWatch.cs rename to KfChatDotNetBot/Services/ThreeXplPocketWatch.cs index 383d03d..bb41534 100644 --- a/KfChatDotNetKickBot/Services/ThreeXplPocketWatch.cs +++ b/KfChatDotNetBot/Services/ThreeXplPocketWatch.cs @@ -1,10 +1,10 @@ using System.Net; using System.Net.Http.Json; using System.Text.Json; -using KfChatDotNetKickBot.Models; +using KfChatDotNetBot.Models; using NLog; -namespace KfChatDotNetKickBot.Services; +namespace KfChatDotNetBot.Services; public class ThreeXplPocketWatch { diff --git a/KfChatDotNetKickBot/Services/Twitch.cs b/KfChatDotNetBot/Services/Twitch.cs similarity index 99% rename from KfChatDotNetKickBot/Services/Twitch.cs rename to KfChatDotNetBot/Services/Twitch.cs index c8ce433..99d3430 100644 --- a/KfChatDotNetKickBot/Services/Twitch.cs +++ b/KfChatDotNetBot/Services/Twitch.cs @@ -5,7 +5,7 @@ using System.Text.Json; using NLog; using Websocket.Client; -namespace KfChatDotNetKickBot.Services; +namespace KfChatDotNetBot.Services; public class Twitch : IDisposable { diff --git a/KfChatDotNetKickBot/Services/TwitchChat.cs b/KfChatDotNetBot/Services/TwitchChat.cs similarity index 99% rename from KfChatDotNetKickBot/Services/TwitchChat.cs rename to KfChatDotNetBot/Services/TwitchChat.cs index fa3ed41..50db986 100644 --- a/KfChatDotNetKickBot/Services/TwitchChat.cs +++ b/KfChatDotNetBot/Services/TwitchChat.cs @@ -5,7 +5,7 @@ using System.Text.RegularExpressions; using NLog; using Websocket.Client; -namespace KfChatDotNetKickBot.Services; +namespace KfChatDotNetBot.Services; public class TwitchChat : IDisposable { diff --git a/KfChatDotNetKickBot/Settings/BuiltIn.cs b/KfChatDotNetBot/Settings/BuiltIn.cs similarity index 99% rename from KfChatDotNetKickBot/Settings/BuiltIn.cs rename to KfChatDotNetBot/Settings/BuiltIn.cs index d66ff29..dcac89b 100644 --- a/KfChatDotNetKickBot/Settings/BuiltIn.cs +++ b/KfChatDotNetBot/Settings/BuiltIn.cs @@ -1,9 +1,9 @@ using System.Text.Json; -using KfChatDotNetKickBot.Models; -using KfChatDotNetKickBot.Models.DbModels; +using KfChatDotNetBot.Models; +using KfChatDotNetBot.Models.DbModels; using NLog; -namespace KfChatDotNetKickBot.Settings; +namespace KfChatDotNetBot.Settings; public static class BuiltIn { diff --git a/KfChatDotNetKickBot/Settings/Helpers.cs b/KfChatDotNetBot/Settings/Helpers.cs similarity index 98% rename from KfChatDotNetKickBot/Settings/Helpers.cs rename to KfChatDotNetBot/Settings/Helpers.cs index b7958f0..2f008aa 100644 --- a/KfChatDotNetKickBot/Settings/Helpers.cs +++ b/KfChatDotNetBot/Settings/Helpers.cs @@ -1,8 +1,8 @@ -using KfChatDotNetKickBot.Models.DbModels; +using KfChatDotNetBot.Models.DbModels; using Microsoft.EntityFrameworkCore; using NLog; -namespace KfChatDotNetKickBot.Settings; +namespace KfChatDotNetBot.Settings; public static class Helpers { diff --git a/KfChatDotNetKickBot/Settings/SettingValue.cs b/KfChatDotNetBot/Settings/SettingValue.cs similarity index 68% rename from KfChatDotNetKickBot/Settings/SettingValue.cs rename to KfChatDotNetBot/Settings/SettingValue.cs index f5276fe..8292411 100644 --- a/KfChatDotNetKickBot/Settings/SettingValue.cs +++ b/KfChatDotNetBot/Settings/SettingValue.cs @@ -1,6 +1,6 @@ -using KfChatDotNetKickBot.Models.DbModels; +using KfChatDotNetBot.Models.DbModels; -namespace KfChatDotNetKickBot.Settings; +namespace KfChatDotNetBot.Settings; public class SettingValue(string? value, SettingDbModel? dbEntry) { diff --git a/KfChatDotNetKickBot/Settings/Utils.cs b/KfChatDotNetBot/Settings/Utils.cs similarity index 97% rename from KfChatDotNetKickBot/Settings/Utils.cs rename to KfChatDotNetBot/Settings/Utils.cs index abdd623..3851166 100644 --- a/KfChatDotNetKickBot/Settings/Utils.cs +++ b/KfChatDotNetBot/Settings/Utils.cs @@ -1,6 +1,6 @@ using NLog; -namespace KfChatDotNetKickBot.Settings; +namespace KfChatDotNetBot.Settings; public static class Utils { diff --git a/KfChatDotNetKickBot/config.json b/KfChatDotNetBot/config.json similarity index 100% rename from KfChatDotNetKickBot/config.json rename to KfChatDotNetBot/config.json