mirror of
https://gitlab.com/Kwoth/nadekobot.git
synced 2025-09-12 10:18:27 -04:00
Massive cleanup
- Removed GuildConfigs repository, moved to extensions - Moved StreamSettings extension to GuildConfig extensions - namespace NadekoBot.Core has been simplified to NadekoBot in many places (more to come) - Replaced some raw delete queries with simple linqtodb queries
This commit is contained in:
@@ -1,6 +1,6 @@
|
||||
using Newtonsoft.Json;
|
||||
|
||||
namespace NadekoBot.Core.Modules.Searches.Common
|
||||
namespace NadekoBot.Modules.Searches.Common
|
||||
{
|
||||
public class BibleVerses
|
||||
{
|
||||
|
@@ -1,7 +1,7 @@
|
||||
using Newtonsoft.Json;
|
||||
using System.Collections.Generic;
|
||||
|
||||
namespace NadekoBot.Core.Modules.Searches.Common
|
||||
namespace NadekoBot.Modules.Searches.Common
|
||||
{
|
||||
public class CryptoResponse
|
||||
{
|
||||
|
@@ -1,6 +1,6 @@
|
||||
using System;
|
||||
|
||||
namespace NadekoBot.Core.Modules.Searches.Common
|
||||
namespace NadekoBot.Modules.Searches.Common
|
||||
{
|
||||
public sealed class Tag
|
||||
{
|
||||
|
@@ -1,7 +1,7 @@
|
||||
using System.Collections.Generic;
|
||||
using Newtonsoft.Json;
|
||||
|
||||
namespace NadekoBot.Core.Modules.Searches.Common
|
||||
namespace NadekoBot.Modules.Searches.Common
|
||||
{
|
||||
public class UserData
|
||||
{
|
||||
|
@@ -1,6 +1,6 @@
|
||||
using Newtonsoft.Json;
|
||||
|
||||
namespace NadekoBot.Core.Modules.Searches.Common
|
||||
namespace NadekoBot.Modules.Searches.Common
|
||||
{
|
||||
public class UserStats
|
||||
{
|
||||
|
@@ -1,4 +1,4 @@
|
||||
namespace NadekoBot.Core.Modules.Searches.Common
|
||||
namespace NadekoBot.Modules.Searches.Common
|
||||
{
|
||||
public class HearthstoneCardData
|
||||
{
|
||||
|
@@ -1,6 +1,6 @@
|
||||
using System.Collections.Generic;
|
||||
|
||||
namespace NadekoBot.Core.Modules.Searches.Common
|
||||
namespace NadekoBot.Modules.Searches.Common
|
||||
{
|
||||
public class MtgData
|
||||
{
|
||||
|
@@ -1,7 +1,7 @@
|
||||
using System.Collections.Generic;
|
||||
using Newtonsoft.Json;
|
||||
|
||||
namespace NadekoBot.Core.Modules.Searches.Common
|
||||
namespace NadekoBot.Modules.Searches.Common
|
||||
{
|
||||
public static class NhentaiApiModel
|
||||
{
|
||||
|
@@ -1,4 +1,4 @@
|
||||
namespace NadekoBot.Core.Modules.Searches.Common
|
||||
namespace NadekoBot.Modules.Searches.Common
|
||||
{
|
||||
public class OmdbMovie
|
||||
{
|
||||
|
@@ -1,6 +1,6 @@
|
||||
using Newtonsoft.Json;
|
||||
|
||||
namespace NadekoBot.Core.Modules.Searches.Common
|
||||
namespace NadekoBot.Modules.Searches.Common
|
||||
{
|
||||
public class OsuUserData
|
||||
{
|
||||
|
@@ -1,7 +1,7 @@
|
||||
using Newtonsoft.Json;
|
||||
using System;
|
||||
|
||||
namespace NadekoBot.Core.Modules.Searches.Common
|
||||
namespace NadekoBot.Modules.Searches.Common
|
||||
{
|
||||
|
||||
public class Account
|
||||
|
@@ -2,7 +2,7 @@
|
||||
using System.Collections.Generic;
|
||||
using Newtonsoft.Json;
|
||||
|
||||
namespace NadekoBot.Core.Modules.Searches.Common
|
||||
namespace NadekoBot.Modules.Searches.Common
|
||||
{
|
||||
public class PicartoChannelResponse
|
||||
{
|
||||
|
@@ -1,6 +1,7 @@
|
||||
using NadekoBot.Core.Services.Database.Models;
|
||||
using NadekoBot.Services.Database.Models;
|
||||
|
||||
namespace NadekoBot.Core.Modules.Searches.Common
|
||||
namespace NadekoBot.Modules.Searches.Common
|
||||
{
|
||||
public class StreamData
|
||||
{
|
||||
|
@@ -1,6 +1,7 @@
|
||||
using NadekoBot.Core.Services.Database.Models;
|
||||
using NadekoBot.Services.Database.Models;
|
||||
|
||||
namespace NadekoBot.Core.Modules.Searches.Common
|
||||
namespace NadekoBot.Modules.Searches.Common
|
||||
{
|
||||
public readonly struct StreamDataKey
|
||||
{
|
||||
|
@@ -1,4 +1,4 @@
|
||||
namespace NadekoBot.Core.Modules.Searches.Common
|
||||
namespace NadekoBot.Modules.Searches.Common
|
||||
{
|
||||
//
|
||||
// public class TwitchResponse
|
||||
|
@@ -2,7 +2,7 @@
|
||||
using System.Collections.Generic;
|
||||
using Newtonsoft.Json;
|
||||
|
||||
namespace NadekoBot.Core.Modules.Searches.Common
|
||||
namespace NadekoBot.Modules.Searches.Common
|
||||
{
|
||||
public class TwitchResponseV5
|
||||
{
|
||||
|
@@ -1,7 +1,7 @@
|
||||
using System.Collections.Generic;
|
||||
using Newtonsoft.Json;
|
||||
|
||||
namespace NadekoBot.Core.Modules.Searches.Common
|
||||
namespace NadekoBot.Modules.Searches.Common
|
||||
{
|
||||
public class TwitchUsersResponseV5
|
||||
{
|
||||
|
@@ -3,14 +3,15 @@ using System.Collections.Generic;
|
||||
using System.Linq;
|
||||
using System.Net.Http;
|
||||
using System.Threading.Tasks;
|
||||
using NadekoBot.Core.Modules.Searches.Common.StreamNotifications.Providers;
|
||||
using NadekoBot.Modules.Searches.Common.StreamNotifications.Providers;
|
||||
using NadekoBot.Core.Services.Database.Models;
|
||||
using NadekoBot.Services.Database.Models;
|
||||
using Newtonsoft.Json;
|
||||
using Serilog;
|
||||
using StackExchange.Redis;
|
||||
|
||||
#nullable enable
|
||||
namespace NadekoBot.Core.Modules.Searches.Common.StreamNotifications
|
||||
namespace NadekoBot.Modules.Searches.Common.StreamNotifications
|
||||
{
|
||||
public class NotifChecker
|
||||
{
|
||||
|
@@ -6,11 +6,12 @@ using System.Net.Http.Headers;
|
||||
using System.Text.RegularExpressions;
|
||||
using System.Threading.Tasks;
|
||||
using NadekoBot.Core.Services.Database.Models;
|
||||
using NadekoBot.Services.Database.Models;
|
||||
using Newtonsoft.Json;
|
||||
using Serilog;
|
||||
|
||||
#nullable enable
|
||||
namespace NadekoBot.Core.Modules.Searches.Common.StreamNotifications.Providers
|
||||
namespace NadekoBot.Modules.Searches.Common.StreamNotifications.Providers
|
||||
{
|
||||
public class PicartoProvider : Provider
|
||||
{
|
||||
|
@@ -4,9 +4,10 @@ using System.Collections.Generic;
|
||||
using System.Linq;
|
||||
using System.Threading.Tasks;
|
||||
using NadekoBot.Core.Services.Database.Models;
|
||||
using NadekoBot.Services.Database.Models;
|
||||
|
||||
#nullable enable
|
||||
namespace NadekoBot.Core.Modules.Searches.Common.StreamNotifications.Providers
|
||||
namespace NadekoBot.Modules.Searches.Common.StreamNotifications.Providers
|
||||
{
|
||||
/// <summary>
|
||||
/// Abstract class implemented by providers of all supported platforms
|
||||
|
@@ -11,7 +11,7 @@
|
||||
// using Serilog;
|
||||
// using JsonSerializer = System.Text.Json.JsonSerializer;
|
||||
//
|
||||
// namespace NadekoBot.Core.Modules.Searches.Common.StreamNotifications.Providers
|
||||
// namespace NadekoBot.Modules.Searches.Common.StreamNotifications.Providers
|
||||
// {
|
||||
// public sealed class TwitchHelixProvider : Provider
|
||||
// {
|
||||
|
@@ -5,11 +5,12 @@ using System.Net.Http;
|
||||
using System.Text.RegularExpressions;
|
||||
using System.Threading.Tasks;
|
||||
using NadekoBot.Core.Services.Database.Models;
|
||||
using NadekoBot.Services.Database.Models;
|
||||
using Newtonsoft.Json;
|
||||
using Serilog;
|
||||
|
||||
#nullable enable
|
||||
namespace NadekoBot.Core.Modules.Searches.Common.StreamNotifications.Providers
|
||||
namespace NadekoBot.Modules.Searches.Common.StreamNotifications.Providers
|
||||
{
|
||||
public class TwitchProvider : Provider
|
||||
{
|
||||
|
@@ -1,6 +1,6 @@
|
||||
using System;
|
||||
|
||||
namespace NadekoBot.Core.Modules.Searches.Common
|
||||
namespace NadekoBot.Modules.Searches.Common
|
||||
{
|
||||
public class TimeData
|
||||
{
|
||||
|
@@ -1,4 +1,4 @@
|
||||
namespace NadekoBot.Core.Modules.Searches.Common
|
||||
namespace NadekoBot.Modules.Searches.Common
|
||||
{
|
||||
public class UrbanResponse
|
||||
{
|
||||
|
Reference in New Issue
Block a user