mirror of
https://github.com/barelyprofessional/KfChatDotNet.git
synced 2026-04-30 03:22:04 -04:00
Renamed the bot from KickBot -> ChatBot and removed the reference to Kick in the project name
This commit is contained in:
@@ -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
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
using KfChatDotNetKickBot.Models.DbModels;
|
||||
using KfChatDotNetBot.Models.DbModels;
|
||||
using Microsoft.EntityFrameworkCore;
|
||||
|
||||
namespace KfChatDotNetKickBot;
|
||||
namespace KfChatDotNetBot;
|
||||
|
||||
public class ApplicationDbContext : DbContext
|
||||
{
|
||||
@@ -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!");
|
||||
|
||||
@@ -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
|
||||
@@ -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);
|
||||
}
|
||||
@@ -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);
|
||||
@@ -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);
|
||||
@@ -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);
|
||||
@@ -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();
|
||||
@@ -1,6 +1,6 @@
|
||||
using System.Text.RegularExpressions;
|
||||
|
||||
namespace KfChatDotNetKickBot;
|
||||
namespace KfChatDotNetBot;
|
||||
|
||||
public static class Extensions
|
||||
{
|
||||
@@ -1,6 +1,6 @@
|
||||
// <auto-generated />
|
||||
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")]
|
||||
@@ -3,7 +3,7 @@ using Microsoft.EntityFrameworkCore.Migrations;
|
||||
|
||||
#nullable disable
|
||||
|
||||
namespace KfChatDotNetKickBot.Migrations
|
||||
namespace KfChatDotNetBot.Migrations
|
||||
{
|
||||
/// <inheritdoc />
|
||||
public partial class Initial : Migration
|
||||
@@ -1,6 +1,6 @@
|
||||
// <auto-generated />
|
||||
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")]
|
||||
@@ -2,7 +2,7 @@
|
||||
|
||||
#nullable disable
|
||||
|
||||
namespace KfChatDotNetKickBot.Migrations
|
||||
namespace KfChatDotNetBot.Migrations
|
||||
{
|
||||
/// <inheritdoc />
|
||||
public partial class Settings : Migration
|
||||
@@ -1,6 +1,6 @@
|
||||
// <auto-generated />
|
||||
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")]
|
||||
@@ -3,7 +3,7 @@ using Microsoft.EntityFrameworkCore.Migrations;
|
||||
|
||||
#nullable disable
|
||||
|
||||
namespace KfChatDotNetKickBot.Migrations
|
||||
namespace KfChatDotNetBot.Migrations
|
||||
{
|
||||
/// <inheritdoc />
|
||||
public partial class Howlgg : Migration
|
||||
@@ -1,13 +1,13 @@
|
||||
// <auto-generated />
|
||||
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
|
||||
@@ -1,4 +1,4 @@
|
||||
namespace KfChatDotNetKickBot.Models;
|
||||
namespace KfChatDotNetBot.Models;
|
||||
|
||||
public class BuiltInSettingsModel
|
||||
{
|
||||
@@ -1,4 +1,4 @@
|
||||
namespace KfChatDotNetKickBot.Models;
|
||||
namespace KfChatDotNetBot.Models;
|
||||
|
||||
[Obsolete]
|
||||
public class ConfigModel
|
||||
@@ -1,4 +1,4 @@
|
||||
namespace KfChatDotNetKickBot.Models.DbModels;
|
||||
namespace KfChatDotNetBot.Models.DbModels;
|
||||
|
||||
public class HowlggBetsDbModel
|
||||
{
|
||||
@@ -1,4 +1,4 @@
|
||||
namespace KfChatDotNetKickBot.Models.DbModels;
|
||||
namespace KfChatDotNetBot.Models.DbModels;
|
||||
|
||||
public class JuicerDbModel
|
||||
{
|
||||
@@ -1,6 +1,6 @@
|
||||
using System.ComponentModel.DataAnnotations.Schema;
|
||||
|
||||
namespace KfChatDotNetKickBot.Models.DbModels;
|
||||
namespace KfChatDotNetBot.Models.DbModels;
|
||||
|
||||
public class SettingDbModel
|
||||
{
|
||||
@@ -1,6 +1,6 @@
|
||||
using System.ComponentModel;
|
||||
|
||||
namespace KfChatDotNetKickBot.Models.DbModels;
|
||||
namespace KfChatDotNetBot.Models.DbModels;
|
||||
|
||||
public class UserDbModel
|
||||
{
|
||||
@@ -1,6 +1,6 @@
|
||||
using System.Text.Json.Serialization;
|
||||
|
||||
namespace KfChatDotNetKickBot.Models;
|
||||
namespace KfChatDotNetBot.Models;
|
||||
|
||||
public class HowlggBetHistoryResponseModel
|
||||
{
|
||||
@@ -1,7 +1,7 @@
|
||||
using System.Text.Json;
|
||||
using System.Text.Json.Serialization;
|
||||
|
||||
namespace KfChatDotNetKickBot.Models;
|
||||
namespace KfChatDotNetBot.Models;
|
||||
|
||||
public class JackpotWsPacketModel
|
||||
{
|
||||
@@ -1,4 +1,4 @@
|
||||
namespace KfChatDotNetKickBot.Models;
|
||||
namespace KfChatDotNetBot.Models;
|
||||
|
||||
public class PocketWatchModel
|
||||
{
|
||||
@@ -1,6 +1,6 @@
|
||||
using System.Text.Json.Serialization;
|
||||
|
||||
namespace KfChatDotNetKickBot.Models;
|
||||
namespace KfChatDotNetBot.Models;
|
||||
|
||||
public class ShuffleLatestBetModel
|
||||
{
|
||||
@@ -1,6 +1,6 @@
|
||||
using System.Text.Json.Serialization;
|
||||
|
||||
namespace KfChatDotNetKickBot.Models;
|
||||
namespace KfChatDotNetBot.Models;
|
||||
|
||||
public class ThreeXplEventModel
|
||||
{
|
||||
@@ -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();
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -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<ICommand> Commands;
|
||||
private CancellationToken _cancellationToken;
|
||||
private List<Task> _commandTasks = [];
|
||||
|
||||
internal BotCommands(KickBot bot, CancellationToken? ctx = null)
|
||||
internal BotCommands(ChatBot bot, CancellationToken? ctx = null)
|
||||
{
|
||||
_cancellationToken = ctx ?? CancellationToken.None;
|
||||
_bot = bot;
|
||||
@@ -5,7 +5,7 @@ using System.Text.Json.Serialization;
|
||||
using NLog;
|
||||
using Websocket.Client;
|
||||
|
||||
namespace KfChatDotNetKickBot.Services;
|
||||
namespace KfChatDotNetBot.Services;
|
||||
|
||||
public class DiscordService : IDisposable
|
||||
{
|
||||
@@ -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
|
||||
{
|
||||
@@ -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
|
||||
{
|
||||
@@ -3,7 +3,7 @@ using System.Text.Json;
|
||||
using NLog;
|
||||
using PuppeteerSharp;
|
||||
|
||||
namespace KfChatDotNetKickBot.Services;
|
||||
namespace KfChatDotNetBot.Services;
|
||||
|
||||
public class KfTokenService
|
||||
{
|
||||
@@ -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
|
||||
{
|
||||
@@ -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
|
||||
{
|
||||
@@ -5,7 +5,7 @@ using System.Text.Json;
|
||||
using NLog;
|
||||
using Websocket.Client;
|
||||
|
||||
namespace KfChatDotNetKickBot.Services;
|
||||
namespace KfChatDotNetBot.Services;
|
||||
|
||||
public class Twitch : IDisposable
|
||||
{
|
||||
@@ -5,7 +5,7 @@ using System.Text.RegularExpressions;
|
||||
using NLog;
|
||||
using Websocket.Client;
|
||||
|
||||
namespace KfChatDotNetKickBot.Services;
|
||||
namespace KfChatDotNetBot.Services;
|
||||
|
||||
public class TwitchChat : IDisposable
|
||||
{
|
||||
@@ -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
|
||||
{
|
||||
@@ -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
|
||||
{
|
||||
@@ -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)
|
||||
{
|
||||
@@ -1,6 +1,6 @@
|
||||
using NLog;
|
||||
|
||||
namespace KfChatDotNetKickBot.Settings;
|
||||
namespace KfChatDotNetBot.Settings;
|
||||
|
||||
public static class Utils
|
||||
{
|
||||
Reference in New Issue
Block a user