One of the last major cleanups. All NadekoBot.Core.* namespaces renamed to NadekoBot.*

This commit is contained in:
Kwoth
2021-06-20 13:03:00 +02:00
parent 44fdd4ff23
commit 49f9b96755
451 changed files with 19253 additions and 19287 deletions

View File

@@ -4,7 +4,7 @@ using Serilog;
using Serilog.Events; using Serilog.Events;
using Serilog.Sinks.SystemConsole.Themes; using Serilog.Sinks.SystemConsole.Themes;
namespace NadekoBot.Core.Services namespace NadekoBot.Services
{ {
public static class LogSetup public static class LogSetup
{ {
@@ -28,10 +28,13 @@ namespace NadekoBot.Core.Services
{ {
if(Environment.OSVersion.Platform == PlatformID.Unix) if(Environment.OSVersion.Platform == PlatformID.Unix)
return AnsiConsoleTheme.Code; return AnsiConsoleTheme.Code;
#if DEBUG #if DEBUG
return AnsiConsoleTheme.Code; return AnsiConsoleTheme.Code;
#endif #else
return ConsoleTheme.None; return ConsoleTheme.None;
#endif
} }
} }
} }

View File

@@ -2,7 +2,7 @@ using System;
using Microsoft.AspNetCore.Hosting; using Microsoft.AspNetCore.Hosting;
using Microsoft.Extensions.Hosting; using Microsoft.Extensions.Hosting;
using NadekoBot.Coordinator; using NadekoBot.Coordinator;
using NadekoBot.Core.Services; using NadekoBot.Services;
using Serilog; using Serilog;
// Additional configuration is required to successfully run gRPC on macOS. // Additional configuration is required to successfully run gRPC on macOS.

View File

@@ -5,7 +5,7 @@ using System.Reflection;
using AngleSharp.Common; using AngleSharp.Common;
using Discord.Commands; using Discord.Commands;
using NadekoBot.Common.Attributes; using NadekoBot.Common.Attributes;
using NadekoBot.Core.Services; using NadekoBot.Services;
using NadekoBot.Modules; using NadekoBot.Modules;
using YamlDotNet.Serialization; using YamlDotNet.Serialization;

View File

@@ -2,7 +2,7 @@ using System.Collections;
using System.Collections.Generic; using System.Collections.Generic;
using System.Linq; using System.Linq;
using System.Threading.Tasks; using System.Threading.Tasks;
using NadekoBot.Core.Services; using NadekoBot.Services;
using NUnit.Framework; using NUnit.Framework;
namespace Nadeko.Tests namespace Nadeko.Tests

View File

@@ -1,5 +1,5 @@
using NadekoBot.Common.Collections; using NadekoBot.Common.Collections;
using NadekoBot.Core.Services.Database.Models; using NadekoBot.Services.Database.Models;
using NUnit.Framework; using NUnit.Framework;
using System; using System;
using System.Collections.Generic; using System.Collections.Generic;

View File

@@ -1,5 +1,5 @@
using System.Linq; using System.Linq;
using NadekoBot.Core.Common; using NadekoBot.Common;
using NUnit.Framework; using NUnit.Framework;
namespace Nadeko.Tests namespace Nadeko.Tests

View File

@@ -1,5 +1,5 @@
using System.Threading.Tasks; using System.Threading.Tasks;
using NadekoBot.Core.Common; using NadekoBot.Common;
using NUnit.Framework; using NUnit.Framework;
using NUnit.Framework.Internal; using NUnit.Framework.Internal;

View File

@@ -3,9 +3,8 @@ using Discord.Commands;
using Discord.WebSocket; using Discord.WebSocket;
using Microsoft.Extensions.DependencyInjection; using Microsoft.Extensions.DependencyInjection;
using NadekoBot.Common; using NadekoBot.Common;
using NadekoBot.Core.Services; using NadekoBot.Services;
using NadekoBot.Core.Services.Database.Models; using NadekoBot.Services.Database.Models;
using NadekoBot.Core.Services.Impl;
using NadekoBot.Extensions; using NadekoBot.Extensions;
using Newtonsoft.Json; using Newtonsoft.Json;
using StackExchange.Redis; using StackExchange.Redis;
@@ -17,20 +16,17 @@ using System.IO;
using System.Linq; using System.Linq;
using System.Net.Http; using System.Net.Http;
using System.Reflection; using System.Reflection;
using System.Threading;
using System.Threading.Tasks; using System.Threading.Tasks;
using Discord.Net; using Discord.Net;
using LinqToDB.EntityFrameworkCore; using LinqToDB.EntityFrameworkCore;
using NadekoBot.Common.ModuleBehaviors; using NadekoBot.Common.ModuleBehaviors;
using NadekoBot.Core.Common; using NadekoBot.Common.Configs;
using NadekoBot.Core.Common.Configs;
using NadekoBot.Db; using NadekoBot.Db;
using NadekoBot.Modules.Gambling.Services; using NadekoBot.Modules.Gambling.Services;
using NadekoBot.Modules.Administration.Services; using NadekoBot.Modules.Administration.Services;
using NadekoBot.Modules.CustomReactions.Services; using NadekoBot.Modules.CustomReactions.Services;
using NadekoBot.Modules.Utility.Services; using NadekoBot.Modules.Utility.Services;
using Serilog; using Serilog;
using NadekoBot.Services;
namespace NadekoBot namespace NadekoBot
{ {

View File

@@ -4,7 +4,7 @@ using System.IO;
using System.Linq; using System.Linq;
using System.Runtime.CompilerServices; using System.Runtime.CompilerServices;
using Discord.Commands; using Discord.Commands;
using NadekoBot.Core.Services.Impl; using NadekoBot.Services;
namespace NadekoBot.Common.Attributes namespace NadekoBot.Common.Attributes
{ {
[AttributeUsage(AttributeTargets.Method)] [AttributeUsage(AttributeTargets.Method)]

View File

@@ -1,7 +1,7 @@
using System; using System;
using System.Runtime.CompilerServices; using System.Runtime.CompilerServices;
using Discord.Commands; using Discord.Commands;
using NadekoBot.Core.Services.Impl; using NadekoBot.Services;
namespace NadekoBot.Common.Attributes namespace NadekoBot.Common.Attributes
{ {

View File

@@ -1,7 +1,7 @@
using System; using System;
using System.Runtime.CompilerServices; using System.Runtime.CompilerServices;
using Discord.Commands; using Discord.Commands;
using NadekoBot.Core.Services.Impl; using NadekoBot.Services;
namespace NadekoBot.Common.Attributes namespace NadekoBot.Common.Attributes
{ {

View File

@@ -1,7 +1,7 @@
using System; using System;
using System.Threading.Tasks; using System.Threading.Tasks;
using Discord.Commands; using Discord.Commands;
using NadekoBot.Core.Services; using NadekoBot.Services;
using Microsoft.Extensions.DependencyInjection; using Microsoft.Extensions.DependencyInjection;
namespace NadekoBot.Common.Attributes namespace NadekoBot.Common.Attributes

View File

@@ -1,10 +1,10 @@
using Discord.Commands; using Discord.Commands;
using NadekoBot.Core.Services; using NadekoBot.Services;
using System; using System;
using System.Threading.Tasks; using System.Threading.Tasks;
using Microsoft.Extensions.DependencyInjection; using Microsoft.Extensions.DependencyInjection;
namespace NadekoBot.Core.Common.Attributes namespace NadekoBot.Common.Attributes
{ {
[AttributeUsage(AttributeTargets.Method)] [AttributeUsage(AttributeTargets.Method)]
public sealed class RatelimitAttribute : PreconditionAttribute public sealed class RatelimitAttribute : PreconditionAttribute

View File

@@ -1,7 +1,7 @@
using System; using System;
using System.Runtime.CompilerServices; using System.Runtime.CompilerServices;
using Discord.Commands; using Discord.Commands;
using NadekoBot.Core.Services.Impl; using NadekoBot.Services;
using Newtonsoft.Json; using Newtonsoft.Json;
namespace NadekoBot.Common.Attributes namespace NadekoBot.Common.Attributes

View File

@@ -1,6 +1,6 @@
using Newtonsoft.Json; using Newtonsoft.Json;
namespace NadekoBot.Core.Common namespace NadekoBot.Common
{ {
public class CmdStrings public class CmdStrings
{ {

View File

@@ -1,7 +1,7 @@
using System.Collections; using System.Collections;
using System.Collections.Generic; using System.Collections.Generic;
using System.Linq; using System.Linq;
using NadekoBot.Core.Services.Database.Models; using NadekoBot.Services.Database.Models;
namespace NadekoBot.Common.Collections namespace NadekoBot.Common.Collections
{ {

View File

@@ -5,7 +5,7 @@ using SixLabors.ImageSharp.PixelFormats;
using YamlDotNet.Core; using YamlDotNet.Core;
using YamlDotNet.Serialization; using YamlDotNet.Serialization;
namespace NadekoBot.Core.Common.Configs namespace NadekoBot.Common.Configs
{ {
public sealed class BotConfig public sealed class BotConfig
{ {

View File

@@ -1,4 +1,4 @@
namespace NadekoBot.Core.Common.Configs namespace NadekoBot.Common.Configs
{ {
/// <summary> /// <summary>
/// Base interface for available config serializers /// Base interface for available config serializers

View File

@@ -1,11 +1,11 @@
using NadekoBot.Core.Services; using NadekoBot.Services;
using System; using System;
using System.Collections.Concurrent; using System.Collections.Concurrent;
using System.Threading; using System.Threading;
using System.Threading.Tasks; using System.Threading.Tasks;
using Discord; using Discord;
namespace NadekoBot.Core.Common namespace NadekoBot.Common
{ {
public class DownloadTracker : INService public class DownloadTracker : INService
{ {

View File

@@ -2,9 +2,9 @@
using System.Linq; using System.Linq;
using System.Reflection; using System.Reflection;
using Microsoft.Extensions.DependencyInjection; using Microsoft.Extensions.DependencyInjection;
using NadekoBot.Core.Common; using NadekoBot.Common;
using NadekoBot.Modules.Music; using NadekoBot.Modules.Music;
using NadekoBot.Core.Services; using NadekoBot.Services;
using NadekoBot.Modules.Administration.Services; using NadekoBot.Modules.Administration.Services;
using NadekoBot.Modules.Music.Resolvers; using NadekoBot.Modules.Music.Resolvers;
using NadekoBot.Modules.Music.Services; using NadekoBot.Modules.Music.Services;

View File

@@ -1,6 +1,6 @@
using System; using System;
namespace NadekoBot.Core.Common namespace NadekoBot.Common
{ {
public static class Helpers public static class Helpers
{ {

View File

@@ -1,4 +1,4 @@
namespace NadekoBot.Core.Common namespace NadekoBot.Common
{ {
public interface INadekoCommandOptions public interface INadekoCommandOptions
{ {

View File

@@ -1,7 +1,7 @@
using System; using System;
using System.Collections.Generic; using System.Collections.Generic;
namespace NadekoBot.Core.Common namespace NadekoBot.Common
{ {
public interface IPlaceholderProvider public interface IPlaceholderProvider
{ {

View File

@@ -1,6 +1,6 @@
using System; using System;
namespace NadekoBot.Core.Common namespace NadekoBot.Common
{ {
public class ImageUrls public class ImageUrls
{ {

View File

@@ -4,7 +4,7 @@ using System.Text.Json;
using System.Text.Json.Serialization; using System.Text.Json.Serialization;
using SixLabors.ImageSharp.PixelFormats; using SixLabors.ImageSharp.PixelFormats;
namespace NadekoBot.Core.Common.JsonConverters namespace NadekoBot.Common.JsonConverters
{ {
public class Rgba32Converter : JsonConverter<Rgba32> public class Rgba32Converter : JsonConverter<Rgba32>
{ {

View File

@@ -1,7 +1,7 @@
using System; using System;
using System.Runtime.CompilerServices; using System.Runtime.CompilerServices;
namespace NadekoBot.Core.Common namespace NadekoBot.Common
{ {
// needs proper invalid input check (character array input out of range) // needs proper invalid input check (character array input out of range)
// needs negative number support // needs negative number support

View File

@@ -1,6 +1,6 @@
using CommandLine; using CommandLine;
namespace NadekoBot.Core.Common namespace NadekoBot.Common
{ {
public class LbOpts : INadekoCommandOptions public class LbOpts : INadekoCommandOptions
{ {

View File

@@ -4,7 +4,7 @@ using System.Runtime.CompilerServices;
using Discord.Net; using Discord.Net;
using Serilog; using Serilog;
namespace NadekoBot.Core.Common namespace NadekoBot.Common
{ {
public class LoginErrorHandler public class LoginErrorHandler
{ {

View File

@@ -1,7 +1,7 @@
using Discord; using Discord;
using Discord.Commands; using Discord.Commands;
using Discord.WebSocket; using Discord.WebSocket;
using NadekoBot.Core.Services; using NadekoBot.Services;
using NadekoBot.Extensions; using NadekoBot.Extensions;
using System.Globalization; using System.Globalization;
using System.Threading.Tasks; using System.Threading.Tasks;

View File

@@ -1,6 +1,6 @@
using CommandLine; using CommandLine;
namespace NadekoBot.Core.Common namespace NadekoBot.Common
{ {
public static class OptionsParser public static class OptionsParser
{ {

View File

@@ -1,4 +1,4 @@
namespace NadekoBot.Core.Common namespace NadekoBot.Common
{ {
public class OsuMapData public class OsuMapData
{ {

View File

@@ -1,6 +1,6 @@
using Newtonsoft.Json; using Newtonsoft.Json;
namespace NadekoBot.Core.Common namespace NadekoBot.Common
{ {
public class OsuUserBests public class OsuUserBests
{ {

View File

@@ -1,4 +1,4 @@
namespace NadekoBot.Core.Common.Pokemon namespace NadekoBot.Common.Pokemon
{ {
public class PokemonNameId public class PokemonNameId
{ {

View File

@@ -1,7 +1,7 @@
using Newtonsoft.Json; using Newtonsoft.Json;
using System.Collections.Generic; using System.Collections.Generic;
namespace NadekoBot.Core.Common.Pokemon namespace NadekoBot.Common.Pokemon
{ {
public class SearchPokemon public class SearchPokemon
{ {

View File

@@ -1,4 +1,4 @@
namespace NadekoBot.Core.Common.Pokemon namespace NadekoBot.Common.Pokemon
{ {
public class SearchPokemonAbility public class SearchPokemonAbility
{ {

View File

@@ -3,7 +3,7 @@ using System.Collections.Generic;
using System.Linq; using System.Linq;
using System.Threading.Tasks; using System.Threading.Tasks;
namespace NadekoBot.Core.Common namespace NadekoBot.Common
{ {
public class EventPubSub : IPubSub public class EventPubSub : IPubSub
{ {

View File

@@ -1,7 +1,7 @@
using System; using System;
using System.Threading.Tasks; using System.Threading.Tasks;
namespace NadekoBot.Core.Common namespace NadekoBot.Common
{ {
public interface IPubSub public interface IPubSub
{ {

View File

@@ -1,4 +1,4 @@
namespace NadekoBot.Core.Common namespace NadekoBot.Common
{ {
public interface ISeria public interface ISeria
{ {

View File

@@ -1,7 +1,7 @@
using System.Text.Json; using System.Text.Json;
using NadekoBot.Core.Common.JsonConverters; using NadekoBot.Common.JsonConverters;
namespace NadekoBot.Core.Common namespace NadekoBot.Common
{ {
public class JsonSeria : ISeria public class JsonSeria : ISeria
{ {

View File

@@ -1,11 +1,11 @@
using System; using System;
using System.Threading.Tasks; using System.Threading.Tasks;
using NadekoBot.Core.Services; using NadekoBot.Services;
using NadekoBot.Extensions; using NadekoBot.Extensions;
using Serilog; using Serilog;
using StackExchange.Redis; using StackExchange.Redis;
namespace NadekoBot.Core.Common namespace NadekoBot.Common
{ {
public sealed class RedisPubSub : IPubSub public sealed class RedisPubSub : IPubSub
{ {

View File

@@ -1,4 +1,4 @@
namespace NadekoBot.Core.Common namespace NadekoBot.Common
{ {
public readonly struct TypedKey<TData> public readonly struct TypedKey<TData>
{ {

View File

@@ -1,9 +1,9 @@
using System.Text.RegularExpressions; using System.Text.RegularExpressions;
using NadekoBot.Common.Yml; using NadekoBot.Common.Yml;
using NadekoBot.Core.Common.Configs; using NadekoBot.Common.Configs;
using YamlDotNet.Serialization; using YamlDotNet.Serialization;
namespace NadekoBot.Core.Common namespace NadekoBot.Common
{ {
public class YamlSeria : IConfigSeria public class YamlSeria : IConfigSeria
{ {

View File

@@ -9,7 +9,7 @@ using System.Collections.Concurrent;
using System.Collections.Generic; using System.Collections.Generic;
using System.Linq; using System.Linq;
using System.Text.RegularExpressions; using System.Text.RegularExpressions;
using NadekoBot.Core.Common; using NadekoBot.Common;
namespace NadekoBot.Common.Replacements namespace NadekoBot.Common.Replacements
{ {

View File

@@ -1,6 +1,6 @@
using System; using System;
namespace NadekoBot.Core.Common namespace NadekoBot.Common
{ {
public struct ShmartNumber : IEquatable<ShmartNumber> public struct ShmartNumber : IEquatable<ShmartNumber>
{ {

View File

@@ -2,9 +2,9 @@
using System.Linq; using System.Linq;
using System.Threading.Tasks; using System.Threading.Tasks;
using Discord.Commands; using Discord.Commands;
using NadekoBot.Core.Services; using NadekoBot.Services;
using NadekoBot.Modules.CustomReactions.Services; using NadekoBot.Modules.CustomReactions.Services;
using NadekoBot.Core.Common.TypeReaders; using NadekoBot.Common.TypeReaders;
using Discord.WebSocket; using Discord.WebSocket;
using Microsoft.Extensions.DependencyInjection; using Microsoft.Extensions.DependencyInjection;

View File

@@ -2,7 +2,7 @@
using System.Threading.Tasks; using System.Threading.Tasks;
using Discord.Commands; using Discord.Commands;
using NadekoBot.Modules.Administration.Services; using NadekoBot.Modules.Administration.Services;
using NadekoBot.Core.Common.TypeReaders; using NadekoBot.Common.TypeReaders;
using Discord.WebSocket; using Discord.WebSocket;
using Microsoft.Extensions.DependencyInjection; using Microsoft.Extensions.DependencyInjection;

View File

@@ -3,7 +3,7 @@ using System.Linq;
using System.Threading.Tasks; using System.Threading.Tasks;
using Discord.Commands; using Discord.Commands;
using Discord.WebSocket; using Discord.WebSocket;
using NadekoBot.Core.Common.TypeReaders; using NadekoBot.Common.TypeReaders;
using Discord; using Discord;
namespace NadekoBot.Common.TypeReaders namespace NadekoBot.Common.TypeReaders

View File

@@ -3,7 +3,7 @@ using System.Threading.Tasks;
using Discord.Commands; using Discord.Commands;
using Discord.WebSocket; using Discord.WebSocket;
namespace NadekoBot.Core.Common.TypeReaders namespace NadekoBot.Common.TypeReaders
{ {
public class KwumTypeReader : NadekoTypeReader<kwum> public class KwumTypeReader : NadekoTypeReader<kwum>
{ {

View File

@@ -2,7 +2,7 @@
using System.Collections.Generic; using System.Collections.Generic;
using System.Text.RegularExpressions; using System.Text.RegularExpressions;
namespace NadekoBot.Core.Common.TypeReaders.Models namespace NadekoBot.Common.TypeReaders.Models
{ {
public class StoopidTime public class StoopidTime
{ {

View File

@@ -3,7 +3,7 @@ using System.Linq;
using System.Threading.Tasks; using System.Threading.Tasks;
using Discord.Commands; using Discord.Commands;
using NadekoBot.Extensions; using NadekoBot.Extensions;
using NadekoBot.Core.Common.TypeReaders; using NadekoBot.Common.TypeReaders;
using Discord.WebSocket; using Discord.WebSocket;
namespace NadekoBot.Common.TypeReaders namespace NadekoBot.Common.TypeReaders

View File

@@ -1,7 +1,7 @@
using Discord.Commands; using Discord.Commands;
using Discord.WebSocket; using Discord.WebSocket;
namespace NadekoBot.Core.Common.TypeReaders namespace NadekoBot.Common.TypeReaders
{ {
public abstract class NadekoTypeReader<T> : TypeReader public abstract class NadekoTypeReader<T> : TypeReader
{ {

View File

@@ -3,7 +3,7 @@ using System.Threading.Tasks;
using Discord.Commands; using Discord.Commands;
using Discord.WebSocket; using Discord.WebSocket;
using NadekoBot.Common.TypeReaders.Models; using NadekoBot.Common.TypeReaders.Models;
using NadekoBot.Core.Common.TypeReaders; using NadekoBot.Common.TypeReaders;
namespace NadekoBot.Common.TypeReaders namespace NadekoBot.Common.TypeReaders
{ {

View File

@@ -4,7 +4,7 @@ using Discord.Commands;
using Discord.WebSocket; using Discord.WebSocket;
using SixLabors.ImageSharp; using SixLabors.ImageSharp;
namespace NadekoBot.Core.Common.TypeReaders namespace NadekoBot.Common.TypeReaders
{ {
public class Rgba32TypeReader : NadekoTypeReader<Color> public class Rgba32TypeReader : NadekoTypeReader<Color>
{ {

View File

@@ -1,14 +1,14 @@
using Discord.Commands; using Discord.Commands;
using Discord.WebSocket; using Discord.WebSocket;
using Microsoft.Extensions.DependencyInjection; using Microsoft.Extensions.DependencyInjection;
using NadekoBot.Core.Services; using NadekoBot.Services;
using System; using System;
using System.Text.RegularExpressions; using System.Text.RegularExpressions;
using System.Threading.Tasks; using System.Threading.Tasks;
using NadekoBot.Db; using NadekoBot.Db;
using NadekoBot.Modules.Gambling.Services; using NadekoBot.Modules.Gambling.Services;
namespace NadekoBot.Core.Common.TypeReaders namespace NadekoBot.Common.TypeReaders
{ {
public class ShmartNumberTypeReader : NadekoTypeReader<ShmartNumber> public class ShmartNumberTypeReader : NadekoTypeReader<ShmartNumber>
{ {

View File

@@ -1,10 +1,10 @@
using Discord.Commands; using Discord.Commands;
using Discord.WebSocket; using Discord.WebSocket;
using NadekoBot.Core.Common.TypeReaders.Models; using NadekoBot.Common.TypeReaders.Models;
using System; using System;
using System.Threading.Tasks; using System.Threading.Tasks;
namespace NadekoBot.Core.Common.TypeReaders namespace NadekoBot.Common.TypeReaders
{ {
public class StoopidTimeTypeReader : NadekoTypeReader<StoopidTime> public class StoopidTimeTypeReader : NadekoTypeReader<StoopidTime>
{ {

View File

@@ -1,7 +1,7 @@
using System.Collections.Generic; using System.Collections.Generic;
using System.Linq; using System.Linq;
using Microsoft.EntityFrameworkCore; using Microsoft.EntityFrameworkCore;
using NadekoBot.Core.Services.Database.Models; using NadekoBot.Services.Database.Models;
namespace NadekoBot.Db namespace NadekoBot.Db
{ {

View File

@@ -2,7 +2,7 @@
using System.Collections.Generic; using System.Collections.Generic;
using System.Linq; using System.Linq;
using LinqToDB; using LinqToDB;
using NadekoBot.Core.Services.Database.Models; using NadekoBot.Services.Database.Models;
namespace NadekoBot.Db namespace NadekoBot.Db
{ {

View File

@@ -1,6 +1,6 @@
using System.Linq; using System.Linq;
using Microsoft.EntityFrameworkCore; using Microsoft.EntityFrameworkCore;
using NadekoBot.Core.Services.Database.Models; using NadekoBot.Services.Database.Models;
namespace NadekoBot.Db namespace NadekoBot.Db
{ {

View File

@@ -3,7 +3,7 @@ using System.Linq;
using Microsoft.EntityFrameworkCore; using Microsoft.EntityFrameworkCore;
using Discord; using Discord;
using System.Collections.Generic; using System.Collections.Generic;
using NadekoBot.Core.Services.Database; using NadekoBot.Services.Database;
namespace NadekoBot.Db namespace NadekoBot.Db
{ {

View File

@@ -1,9 +1,9 @@
using NadekoBot.Core.Services.Database.Models; using NadekoBot.Services.Database.Models;
using System.Collections.Generic; using System.Collections.Generic;
using System.Linq; using System.Linq;
using Microsoft.EntityFrameworkCore; using Microsoft.EntityFrameworkCore;
using System; using System;
using NadekoBot.Core.Services.Database; using NadekoBot.Services.Database;
using NadekoBot.Db.Models; using NadekoBot.Db.Models;
namespace NadekoBot.Db namespace NadekoBot.Db

View File

@@ -1,6 +1,6 @@
using System.Threading.Tasks; using System.Threading.Tasks;
using Microsoft.EntityFrameworkCore; using Microsoft.EntityFrameworkCore;
using NadekoBot.Core.Services.Database.Models; using NadekoBot.Services.Database.Models;
namespace NadekoBot.Db namespace NadekoBot.Db
{ {

View File

@@ -2,7 +2,7 @@
using System.Collections.Generic; using System.Collections.Generic;
using System.Linq; using System.Linq;
using Microsoft.EntityFrameworkCore; using Microsoft.EntityFrameworkCore;
using NadekoBot.Core.Services.Database.Models; using NadekoBot.Services.Database.Models;
namespace NadekoBot.Db namespace NadekoBot.Db
{ {

View File

@@ -2,8 +2,8 @@
using System.Collections.Generic; using System.Collections.Generic;
using System.Linq; using System.Linq;
using Microsoft.EntityFrameworkCore; using Microsoft.EntityFrameworkCore;
using NadekoBot.Core.Services.Database; using NadekoBot.Services.Database;
using NadekoBot.Core.Services.Database.Models; using NadekoBot.Services.Database.Models;
using NadekoBot.Db; using NadekoBot.Db;
namespace NadekoBot.Db namespace NadekoBot.Db

View File

@@ -1,4 +1,4 @@
using NadekoBot.Core.Services.Database.Models; using NadekoBot.Services.Database.Models;
using System.Collections.Generic; using System.Collections.Generic;
using System.Linq; using System.Linq;
using System.Threading.Tasks; using System.Threading.Tasks;

View File

@@ -1,4 +1,4 @@
using NadekoBot.Core.Services.Database.Models; using NadekoBot.Services.Database.Models;
using Microsoft.EntityFrameworkCore; using Microsoft.EntityFrameworkCore;
using System.Collections.Generic; using System.Collections.Generic;
using System.Linq; using System.Linq;

View File

@@ -1,4 +1,4 @@
using NadekoBot.Core.Services.Database.Models; using NadekoBot.Services.Database.Models;
using System.Collections.Generic; using System.Collections.Generic;
using System.Linq; using System.Linq;
using Microsoft.EntityFrameworkCore; using Microsoft.EntityFrameworkCore;

View File

@@ -2,8 +2,8 @@
using Microsoft.EntityFrameworkCore; using Microsoft.EntityFrameworkCore;
using System.Collections.Generic; using System.Collections.Generic;
using LinqToDB; using LinqToDB;
using NadekoBot.Core.Services.Database; using NadekoBot.Services.Database;
using NadekoBot.Core.Services.Database.Models; using NadekoBot.Services.Database.Models;
namespace NadekoBot.Db namespace NadekoBot.Db
{ {

View File

@@ -2,8 +2,8 @@
using System.Collections.Generic; using System.Collections.Generic;
using System.Linq; using System.Linq;
using Microsoft.EntityFrameworkCore; using Microsoft.EntityFrameworkCore;
using NadekoBot.Core.Services.Database; using NadekoBot.Services.Database;
using NadekoBot.Core.Services.Database.Models; using NadekoBot.Services.Database.Models;
using NadekoBot.Db.Models; using NadekoBot.Db.Models;
namespace NadekoBot.Db namespace NadekoBot.Db

View File

@@ -1,4 +1,4 @@
using NadekoBot.Core.Services.Database.Models; using NadekoBot.Services.Database.Models;
using Microsoft.EntityFrameworkCore; using Microsoft.EntityFrameworkCore;
using System.Linq; using System.Linq;
using System.Threading.Tasks; using System.Threading.Tasks;

View File

@@ -1,6 +1,6 @@
using System; using System;
using System.Collections.Generic; using System.Collections.Generic;
namespace NadekoBot.Core.Services.Database.Models namespace NadekoBot.Services.Database.Models
{ {
public class AntiRaidSetting : DbEntity public class AntiRaidSetting : DbEntity
{ {

View File

@@ -1,4 +1,4 @@
namespace NadekoBot.Core.Services.Database.Models namespace NadekoBot.Services.Database.Models
{ {
public class AutoCommand : DbEntity public class AutoCommand : DbEntity
{ {

View File

@@ -1,4 +1,4 @@
namespace NadekoBot.Core.Services.Database.Models namespace NadekoBot.Services.Database.Models
{ {
public class BanTemplate : DbEntity public class BanTemplate : DbEntity
{ {

View File

@@ -1,7 +1,7 @@
using System; using System;
using System.Collections.Generic; using System.Collections.Generic;
namespace NadekoBot.Core.Services.Database.Models namespace NadekoBot.Services.Database.Models
{ {
public class BlacklistEntry : DbEntity public class BlacklistEntry : DbEntity
{ {

View File

@@ -1,6 +1,6 @@
using System.Collections.Generic; using System.Collections.Generic;
using System.ComponentModel.DataAnnotations; using System.ComponentModel.DataAnnotations;
using NadekoBot.Core.Services.Database.Models; using NadekoBot.Services.Database.Models;
namespace NadekoBot.Db.Models namespace NadekoBot.Db.Models
{ {

View File

@@ -1,4 +1,4 @@
namespace NadekoBot.Core.Services.Database.Models namespace NadekoBot.Services.Database.Models
{ {
public class CommandAlias : DbEntity public class CommandAlias : DbEntity
{ {

View File

@@ -1,4 +1,4 @@
namespace NadekoBot.Core.Services.Database.Models namespace NadekoBot.Services.Database.Models
{ {
public class CommandCooldown : DbEntity public class CommandCooldown : DbEntity
{ {

View File

@@ -1,4 +1,4 @@
namespace NadekoBot.Core.Services.Database.Models namespace NadekoBot.Services.Database.Models
{ {
public class CurrencyTransaction : DbEntity public class CurrencyTransaction : DbEntity
{ {

View File

@@ -3,7 +3,7 @@ using System;
using System.ComponentModel.DataAnnotations.Schema; using System.ComponentModel.DataAnnotations.Schema;
using System.Text.RegularExpressions; using System.Text.RegularExpressions;
namespace NadekoBot.Core.Services.Database.Models namespace NadekoBot.Services.Database.Models
{ {
public class CustomReaction : DbEntity public class CustomReaction : DbEntity
{ {

View File

@@ -1,7 +1,7 @@
using System; using System;
using System.ComponentModel.DataAnnotations; using System.ComponentModel.DataAnnotations;
namespace NadekoBot.Core.Services.Database.Models namespace NadekoBot.Services.Database.Models
{ {
public class DbEntity public class DbEntity
{ {

View File

@@ -1,4 +1,4 @@
namespace NadekoBot.Core.Services.Database.Models namespace NadekoBot.Services.Database.Models
{ {
public class DelMsgOnCmdChannel : DbEntity public class DelMsgOnCmdChannel : DbEntity
{ {

View File

@@ -1,6 +1,6 @@
using Discord; using Discord;
namespace NadekoBot.Core.Services.Database.Models namespace NadekoBot.Services.Database.Models
{ {
public class DiscordPermOverride : DbEntity public class DiscordPermOverride : DbEntity
{ {

View File

@@ -1,5 +1,5 @@
using System; using System;
using NadekoBot.Core.Services.Database.Models; using NadekoBot.Services.Database.Models;
namespace NadekoBot.Db.Models namespace NadekoBot.Db.Models
{ {

View File

@@ -1,6 +1,6 @@
using System.Collections.Generic; using System.Collections.Generic;
namespace NadekoBot.Core.Services.Database.Models namespace NadekoBot.Services.Database.Models
{ {
public class CurrencyEvent public class CurrencyEvent
{ {

View File

@@ -1,6 +1,6 @@
using System; using System;
namespace NadekoBot.Core.Services.Database.Models namespace NadekoBot.Services.Database.Models
{ {
public class FeedSub : DbEntity public class FeedSub : DbEntity
{ {

View File

@@ -1,4 +1,4 @@
namespace NadekoBot.Core.Services.Database.Models namespace NadekoBot.Services.Database.Models
{ {
public class FilterChannelId : DbEntity public class FilterChannelId : DbEntity
{ {

View File

@@ -1,4 +1,4 @@
namespace NadekoBot.Core.Services.Database.Models namespace NadekoBot.Services.Database.Models
{ {
public class FilterLinksChannelId : DbEntity public class FilterLinksChannelId : DbEntity
{ {

View File

@@ -1,4 +1,4 @@
namespace NadekoBot.Core.Services.Database.Models namespace NadekoBot.Services.Database.Models
{ {
public class FilteredWord : DbEntity public class FilteredWord : DbEntity
{ {

View File

@@ -1,5 +1,5 @@
using System; using System;
using NadekoBot.Core.Services.Database.Models; using NadekoBot.Services.Database.Models;
using NadekoBot.Modules.Searches.Common; using NadekoBot.Modules.Searches.Common;
namespace NadekoBot.Db.Models namespace NadekoBot.Db.Models

View File

@@ -1,4 +1,4 @@
namespace NadekoBot.Core.Services.Database.Models namespace NadekoBot.Services.Database.Models
{ {
public class GCChannelId : DbEntity public class GCChannelId : DbEntity
{ {

View File

@@ -1,4 +1,4 @@
namespace NadekoBot.Core.Services.Database.Models namespace NadekoBot.Services.Database.Models
{ {
public class GroupName : DbEntity public class GroupName : DbEntity
{ {

View File

@@ -3,7 +3,7 @@ using NadekoBot.Common.Collections;
using System.Collections.Generic; using System.Collections.Generic;
using NadekoBot.Db.Models; using NadekoBot.Db.Models;
namespace NadekoBot.Core.Services.Database.Models namespace NadekoBot.Services.Database.Models
{ {
public class GuildConfig : DbEntity public class GuildConfig : DbEntity
{ {

View File

@@ -1,4 +1,4 @@
namespace NadekoBot.Core.Services.Database.Models namespace NadekoBot.Services.Database.Models
{ {
public class IgnoredLogChannel : DbEntity public class IgnoredLogChannel : DbEntity
{ {

View File

@@ -1,4 +1,4 @@
namespace NadekoBot.Core.Services.Database.Models namespace NadekoBot.Services.Database.Models
{ {
public class IgnoredVoicePresenceChannel : DbEntity public class IgnoredVoicePresenceChannel : DbEntity
{ {

View File

@@ -1,6 +1,6 @@
using System.Collections.Generic; using System.Collections.Generic;
namespace NadekoBot.Core.Services.Database.Models namespace NadekoBot.Services.Database.Models
{ {
public class LogSetting : DbEntity public class LogSetting : DbEntity

View File

@@ -1,6 +1,6 @@
using System.Collections.Generic; using System.Collections.Generic;
namespace NadekoBot.Core.Services.Database.Models namespace NadekoBot.Services.Database.Models
{ {
public class MusicPlaylist : DbEntity public class MusicPlaylist : DbEntity
{ {

View File

@@ -1,4 +1,4 @@
namespace NadekoBot.Core.Services.Database.Models namespace NadekoBot.Services.Database.Models
{ {
public class MusicPlayerSettings public class MusicPlayerSettings
{ {

View File

@@ -1,4 +1,4 @@
namespace NadekoBot.Core.Services.Database.Models namespace NadekoBot.Services.Database.Models
{ {
public class MutedUserId : DbEntity public class MutedUserId : DbEntity
{ {

View File

@@ -1,6 +1,6 @@
using System; using System;
namespace NadekoBot.Core.Services.Database.Models namespace NadekoBot.Services.Database.Models
{ {
public class NsfwBlacklitedTag : DbEntity public class NsfwBlacklitedTag : DbEntity
{ {

View File

@@ -2,7 +2,7 @@
using System.ComponentModel.DataAnnotations.Schema; using System.ComponentModel.DataAnnotations.Schema;
using System.Diagnostics; using System.Diagnostics;
namespace NadekoBot.Core.Services.Database.Models namespace NadekoBot.Services.Database.Models
{ {
[DebuggerDisplay("{global::NadekoBot.Modules.Permissions.PermissionExtensions.GetCommand(this)}", Target = typeof(Permission))] [DebuggerDisplay("{global::NadekoBot.Modules.Permissions.PermissionExtensions.GetCommand(this)}", Target = typeof(Permission))]
public class Permission : DbEntity public class Permission : DbEntity

View File

@@ -1,4 +1,4 @@
namespace NadekoBot.Core.Services.Database.Models namespace NadekoBot.Services.Database.Models
{ {
public class PlantedCurrency : DbEntity public class PlantedCurrency : DbEntity
{ {

Some files were not shown because too many files have changed in this diff Show More