mirror of
https://gitlab.com/Kwoth/nadekobot.git
synced 2025-09-10 09:18:27 -04:00
One of the last major cleanups. All NadekoBot.Core.* namespaces renamed to NadekoBot.*
This commit is contained in:
@@ -4,7 +4,7 @@ using Serilog;
|
||||
using Serilog.Events;
|
||||
using Serilog.Sinks.SystemConsole.Themes;
|
||||
|
||||
namespace NadekoBot.Core.Services
|
||||
namespace NadekoBot.Services
|
||||
{
|
||||
public static class LogSetup
|
||||
{
|
||||
@@ -28,10 +28,13 @@ namespace NadekoBot.Core.Services
|
||||
{
|
||||
if(Environment.OSVersion.Platform == PlatformID.Unix)
|
||||
return AnsiConsoleTheme.Code;
|
||||
|
||||
|
||||
#if DEBUG
|
||||
return AnsiConsoleTheme.Code;
|
||||
#endif
|
||||
#else
|
||||
return ConsoleTheme.None;
|
||||
#endif
|
||||
}
|
||||
}
|
||||
}
|
||||
|
@@ -2,7 +2,7 @@ using System;
|
||||
using Microsoft.AspNetCore.Hosting;
|
||||
using Microsoft.Extensions.Hosting;
|
||||
using NadekoBot.Coordinator;
|
||||
using NadekoBot.Core.Services;
|
||||
using NadekoBot.Services;
|
||||
using Serilog;
|
||||
|
||||
// Additional configuration is required to successfully run gRPC on macOS.
|
||||
|
@@ -5,7 +5,7 @@ using System.Reflection;
|
||||
using AngleSharp.Common;
|
||||
using Discord.Commands;
|
||||
using NadekoBot.Common.Attributes;
|
||||
using NadekoBot.Core.Services;
|
||||
using NadekoBot.Services;
|
||||
using NadekoBot.Modules;
|
||||
using YamlDotNet.Serialization;
|
||||
|
||||
|
@@ -2,7 +2,7 @@ using System.Collections;
|
||||
using System.Collections.Generic;
|
||||
using System.Linq;
|
||||
using System.Threading.Tasks;
|
||||
using NadekoBot.Core.Services;
|
||||
using NadekoBot.Services;
|
||||
using NUnit.Framework;
|
||||
|
||||
namespace Nadeko.Tests
|
||||
|
@@ -1,5 +1,5 @@
|
||||
using NadekoBot.Common.Collections;
|
||||
using NadekoBot.Core.Services.Database.Models;
|
||||
using NadekoBot.Services.Database.Models;
|
||||
using NUnit.Framework;
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
|
@@ -1,5 +1,5 @@
|
||||
using System.Linq;
|
||||
using NadekoBot.Core.Common;
|
||||
using NadekoBot.Common;
|
||||
using NUnit.Framework;
|
||||
|
||||
namespace Nadeko.Tests
|
||||
|
@@ -1,5 +1,5 @@
|
||||
using System.Threading.Tasks;
|
||||
using NadekoBot.Core.Common;
|
||||
using NadekoBot.Common;
|
||||
using NUnit.Framework;
|
||||
using NUnit.Framework.Internal;
|
||||
|
||||
|
@@ -3,9 +3,8 @@ using Discord.Commands;
|
||||
using Discord.WebSocket;
|
||||
using Microsoft.Extensions.DependencyInjection;
|
||||
using NadekoBot.Common;
|
||||
using NadekoBot.Core.Services;
|
||||
using NadekoBot.Core.Services.Database.Models;
|
||||
using NadekoBot.Core.Services.Impl;
|
||||
using NadekoBot.Services;
|
||||
using NadekoBot.Services.Database.Models;
|
||||
using NadekoBot.Extensions;
|
||||
using Newtonsoft.Json;
|
||||
using StackExchange.Redis;
|
||||
@@ -17,20 +16,17 @@ using System.IO;
|
||||
using System.Linq;
|
||||
using System.Net.Http;
|
||||
using System.Reflection;
|
||||
using System.Threading;
|
||||
using System.Threading.Tasks;
|
||||
using Discord.Net;
|
||||
using LinqToDB.EntityFrameworkCore;
|
||||
using NadekoBot.Common.ModuleBehaviors;
|
||||
using NadekoBot.Core.Common;
|
||||
using NadekoBot.Core.Common.Configs;
|
||||
using NadekoBot.Common.Configs;
|
||||
using NadekoBot.Db;
|
||||
using NadekoBot.Modules.Gambling.Services;
|
||||
using NadekoBot.Modules.Administration.Services;
|
||||
using NadekoBot.Modules.CustomReactions.Services;
|
||||
using NadekoBot.Modules.Utility.Services;
|
||||
using Serilog;
|
||||
using NadekoBot.Services;
|
||||
|
||||
namespace NadekoBot
|
||||
{
|
||||
|
@@ -4,7 +4,7 @@ using System.IO;
|
||||
using System.Linq;
|
||||
using System.Runtime.CompilerServices;
|
||||
using Discord.Commands;
|
||||
using NadekoBot.Core.Services.Impl;
|
||||
using NadekoBot.Services;
|
||||
namespace NadekoBot.Common.Attributes
|
||||
{
|
||||
[AttributeUsage(AttributeTargets.Method)]
|
||||
|
@@ -1,7 +1,7 @@
|
||||
using System;
|
||||
using System.Runtime.CompilerServices;
|
||||
using Discord.Commands;
|
||||
using NadekoBot.Core.Services.Impl;
|
||||
using NadekoBot.Services;
|
||||
|
||||
namespace NadekoBot.Common.Attributes
|
||||
{
|
||||
|
@@ -1,7 +1,7 @@
|
||||
using System;
|
||||
using System.Runtime.CompilerServices;
|
||||
using Discord.Commands;
|
||||
using NadekoBot.Core.Services.Impl;
|
||||
using NadekoBot.Services;
|
||||
|
||||
namespace NadekoBot.Common.Attributes
|
||||
{
|
||||
|
@@ -1,7 +1,7 @@
|
||||
using System;
|
||||
using System.Threading.Tasks;
|
||||
using Discord.Commands;
|
||||
using NadekoBot.Core.Services;
|
||||
using NadekoBot.Services;
|
||||
using Microsoft.Extensions.DependencyInjection;
|
||||
|
||||
namespace NadekoBot.Common.Attributes
|
||||
|
@@ -1,10 +1,10 @@
|
||||
using Discord.Commands;
|
||||
using NadekoBot.Core.Services;
|
||||
using NadekoBot.Services;
|
||||
using System;
|
||||
using System.Threading.Tasks;
|
||||
using Microsoft.Extensions.DependencyInjection;
|
||||
|
||||
namespace NadekoBot.Core.Common.Attributes
|
||||
namespace NadekoBot.Common.Attributes
|
||||
{
|
||||
[AttributeUsage(AttributeTargets.Method)]
|
||||
public sealed class RatelimitAttribute : PreconditionAttribute
|
||||
|
@@ -1,7 +1,7 @@
|
||||
using System;
|
||||
using System.Runtime.CompilerServices;
|
||||
using Discord.Commands;
|
||||
using NadekoBot.Core.Services.Impl;
|
||||
using NadekoBot.Services;
|
||||
using Newtonsoft.Json;
|
||||
|
||||
namespace NadekoBot.Common.Attributes
|
||||
|
@@ -1,6 +1,6 @@
|
||||
using Newtonsoft.Json;
|
||||
|
||||
namespace NadekoBot.Core.Common
|
||||
namespace NadekoBot.Common
|
||||
{
|
||||
public class CmdStrings
|
||||
{
|
||||
|
@@ -1,7 +1,7 @@
|
||||
using System.Collections;
|
||||
using System.Collections.Generic;
|
||||
using System.Linq;
|
||||
using NadekoBot.Core.Services.Database.Models;
|
||||
using NadekoBot.Services.Database.Models;
|
||||
|
||||
namespace NadekoBot.Common.Collections
|
||||
{
|
||||
|
@@ -5,7 +5,7 @@ using SixLabors.ImageSharp.PixelFormats;
|
||||
using YamlDotNet.Core;
|
||||
using YamlDotNet.Serialization;
|
||||
|
||||
namespace NadekoBot.Core.Common.Configs
|
||||
namespace NadekoBot.Common.Configs
|
||||
{
|
||||
public sealed class BotConfig
|
||||
{
|
||||
|
@@ -1,4 +1,4 @@
|
||||
namespace NadekoBot.Core.Common.Configs
|
||||
namespace NadekoBot.Common.Configs
|
||||
{
|
||||
/// <summary>
|
||||
/// Base interface for available config serializers
|
||||
|
@@ -1,11 +1,11 @@
|
||||
using NadekoBot.Core.Services;
|
||||
using NadekoBot.Services;
|
||||
using System;
|
||||
using System.Collections.Concurrent;
|
||||
using System.Threading;
|
||||
using System.Threading.Tasks;
|
||||
using Discord;
|
||||
|
||||
namespace NadekoBot.Core.Common
|
||||
namespace NadekoBot.Common
|
||||
{
|
||||
public class DownloadTracker : INService
|
||||
{
|
||||
|
@@ -2,9 +2,9 @@
|
||||
using System.Linq;
|
||||
using System.Reflection;
|
||||
using Microsoft.Extensions.DependencyInjection;
|
||||
using NadekoBot.Core.Common;
|
||||
using NadekoBot.Common;
|
||||
using NadekoBot.Modules.Music;
|
||||
using NadekoBot.Core.Services;
|
||||
using NadekoBot.Services;
|
||||
using NadekoBot.Modules.Administration.Services;
|
||||
using NadekoBot.Modules.Music.Resolvers;
|
||||
using NadekoBot.Modules.Music.Services;
|
||||
|
@@ -1,6 +1,6 @@
|
||||
using System;
|
||||
|
||||
namespace NadekoBot.Core.Common
|
||||
namespace NadekoBot.Common
|
||||
{
|
||||
public static class Helpers
|
||||
{
|
||||
|
@@ -1,4 +1,4 @@
|
||||
namespace NadekoBot.Core.Common
|
||||
namespace NadekoBot.Common
|
||||
{
|
||||
public interface INadekoCommandOptions
|
||||
{
|
||||
|
@@ -1,7 +1,7 @@
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
|
||||
namespace NadekoBot.Core.Common
|
||||
namespace NadekoBot.Common
|
||||
{
|
||||
public interface IPlaceholderProvider
|
||||
{
|
||||
|
@@ -1,6 +1,6 @@
|
||||
using System;
|
||||
|
||||
namespace NadekoBot.Core.Common
|
||||
namespace NadekoBot.Common
|
||||
{
|
||||
public class ImageUrls
|
||||
{
|
||||
|
@@ -4,7 +4,7 @@ using System.Text.Json;
|
||||
using System.Text.Json.Serialization;
|
||||
using SixLabors.ImageSharp.PixelFormats;
|
||||
|
||||
namespace NadekoBot.Core.Common.JsonConverters
|
||||
namespace NadekoBot.Common.JsonConverters
|
||||
{
|
||||
public class Rgba32Converter : JsonConverter<Rgba32>
|
||||
{
|
||||
|
@@ -1,7 +1,7 @@
|
||||
using System;
|
||||
using System.Runtime.CompilerServices;
|
||||
|
||||
namespace NadekoBot.Core.Common
|
||||
namespace NadekoBot.Common
|
||||
{
|
||||
// needs proper invalid input check (character array input out of range)
|
||||
// needs negative number support
|
||||
|
@@ -1,6 +1,6 @@
|
||||
using CommandLine;
|
||||
|
||||
namespace NadekoBot.Core.Common
|
||||
namespace NadekoBot.Common
|
||||
{
|
||||
public class LbOpts : INadekoCommandOptions
|
||||
{
|
||||
|
@@ -4,7 +4,7 @@ using System.Runtime.CompilerServices;
|
||||
using Discord.Net;
|
||||
using Serilog;
|
||||
|
||||
namespace NadekoBot.Core.Common
|
||||
namespace NadekoBot.Common
|
||||
{
|
||||
public class LoginErrorHandler
|
||||
{
|
||||
|
@@ -1,7 +1,7 @@
|
||||
using Discord;
|
||||
using Discord.Commands;
|
||||
using Discord.WebSocket;
|
||||
using NadekoBot.Core.Services;
|
||||
using NadekoBot.Services;
|
||||
using NadekoBot.Extensions;
|
||||
using System.Globalization;
|
||||
using System.Threading.Tasks;
|
||||
|
@@ -1,6 +1,6 @@
|
||||
using CommandLine;
|
||||
|
||||
namespace NadekoBot.Core.Common
|
||||
namespace NadekoBot.Common
|
||||
{
|
||||
public static class OptionsParser
|
||||
{
|
||||
|
@@ -1,4 +1,4 @@
|
||||
namespace NadekoBot.Core.Common
|
||||
namespace NadekoBot.Common
|
||||
{
|
||||
public class OsuMapData
|
||||
{
|
||||
|
@@ -1,6 +1,6 @@
|
||||
using Newtonsoft.Json;
|
||||
|
||||
namespace NadekoBot.Core.Common
|
||||
namespace NadekoBot.Common
|
||||
{
|
||||
public class OsuUserBests
|
||||
{
|
||||
|
@@ -1,4 +1,4 @@
|
||||
namespace NadekoBot.Core.Common.Pokemon
|
||||
namespace NadekoBot.Common.Pokemon
|
||||
{
|
||||
public class PokemonNameId
|
||||
{
|
||||
|
@@ -1,7 +1,7 @@
|
||||
using Newtonsoft.Json;
|
||||
using System.Collections.Generic;
|
||||
|
||||
namespace NadekoBot.Core.Common.Pokemon
|
||||
namespace NadekoBot.Common.Pokemon
|
||||
{
|
||||
public class SearchPokemon
|
||||
{
|
||||
|
@@ -1,4 +1,4 @@
|
||||
namespace NadekoBot.Core.Common.Pokemon
|
||||
namespace NadekoBot.Common.Pokemon
|
||||
{
|
||||
public class SearchPokemonAbility
|
||||
{
|
||||
|
@@ -3,7 +3,7 @@ using System.Collections.Generic;
|
||||
using System.Linq;
|
||||
using System.Threading.Tasks;
|
||||
|
||||
namespace NadekoBot.Core.Common
|
||||
namespace NadekoBot.Common
|
||||
{
|
||||
public class EventPubSub : IPubSub
|
||||
{
|
||||
|
@@ -1,7 +1,7 @@
|
||||
using System;
|
||||
using System.Threading.Tasks;
|
||||
|
||||
namespace NadekoBot.Core.Common
|
||||
namespace NadekoBot.Common
|
||||
{
|
||||
public interface IPubSub
|
||||
{
|
||||
|
@@ -1,4 +1,4 @@
|
||||
namespace NadekoBot.Core.Common
|
||||
namespace NadekoBot.Common
|
||||
{
|
||||
public interface ISeria
|
||||
{
|
||||
|
@@ -1,7 +1,7 @@
|
||||
using System.Text.Json;
|
||||
using NadekoBot.Core.Common.JsonConverters;
|
||||
using NadekoBot.Common.JsonConverters;
|
||||
|
||||
namespace NadekoBot.Core.Common
|
||||
namespace NadekoBot.Common
|
||||
{
|
||||
public class JsonSeria : ISeria
|
||||
{
|
||||
|
@@ -1,11 +1,11 @@
|
||||
using System;
|
||||
using System.Threading.Tasks;
|
||||
using NadekoBot.Core.Services;
|
||||
using NadekoBot.Services;
|
||||
using NadekoBot.Extensions;
|
||||
using Serilog;
|
||||
using StackExchange.Redis;
|
||||
|
||||
namespace NadekoBot.Core.Common
|
||||
namespace NadekoBot.Common
|
||||
{
|
||||
public sealed class RedisPubSub : IPubSub
|
||||
{
|
||||
|
@@ -1,4 +1,4 @@
|
||||
namespace NadekoBot.Core.Common
|
||||
namespace NadekoBot.Common
|
||||
{
|
||||
public readonly struct TypedKey<TData>
|
||||
{
|
||||
|
@@ -1,9 +1,9 @@
|
||||
using System.Text.RegularExpressions;
|
||||
using NadekoBot.Common.Yml;
|
||||
using NadekoBot.Core.Common.Configs;
|
||||
using NadekoBot.Common.Configs;
|
||||
using YamlDotNet.Serialization;
|
||||
|
||||
namespace NadekoBot.Core.Common
|
||||
namespace NadekoBot.Common
|
||||
{
|
||||
public class YamlSeria : IConfigSeria
|
||||
{
|
||||
|
@@ -9,7 +9,7 @@ using System.Collections.Concurrent;
|
||||
using System.Collections.Generic;
|
||||
using System.Linq;
|
||||
using System.Text.RegularExpressions;
|
||||
using NadekoBot.Core.Common;
|
||||
using NadekoBot.Common;
|
||||
|
||||
namespace NadekoBot.Common.Replacements
|
||||
{
|
||||
|
@@ -1,6 +1,6 @@
|
||||
using System;
|
||||
|
||||
namespace NadekoBot.Core.Common
|
||||
namespace NadekoBot.Common
|
||||
{
|
||||
public struct ShmartNumber : IEquatable<ShmartNumber>
|
||||
{
|
||||
|
@@ -2,9 +2,9 @@
|
||||
using System.Linq;
|
||||
using System.Threading.Tasks;
|
||||
using Discord.Commands;
|
||||
using NadekoBot.Core.Services;
|
||||
using NadekoBot.Services;
|
||||
using NadekoBot.Modules.CustomReactions.Services;
|
||||
using NadekoBot.Core.Common.TypeReaders;
|
||||
using NadekoBot.Common.TypeReaders;
|
||||
using Discord.WebSocket;
|
||||
using Microsoft.Extensions.DependencyInjection;
|
||||
|
||||
|
@@ -2,7 +2,7 @@
|
||||
using System.Threading.Tasks;
|
||||
using Discord.Commands;
|
||||
using NadekoBot.Modules.Administration.Services;
|
||||
using NadekoBot.Core.Common.TypeReaders;
|
||||
using NadekoBot.Common.TypeReaders;
|
||||
using Discord.WebSocket;
|
||||
using Microsoft.Extensions.DependencyInjection;
|
||||
|
||||
|
@@ -3,7 +3,7 @@ using System.Linq;
|
||||
using System.Threading.Tasks;
|
||||
using Discord.Commands;
|
||||
using Discord.WebSocket;
|
||||
using NadekoBot.Core.Common.TypeReaders;
|
||||
using NadekoBot.Common.TypeReaders;
|
||||
using Discord;
|
||||
|
||||
namespace NadekoBot.Common.TypeReaders
|
||||
|
@@ -3,7 +3,7 @@ using System.Threading.Tasks;
|
||||
using Discord.Commands;
|
||||
using Discord.WebSocket;
|
||||
|
||||
namespace NadekoBot.Core.Common.TypeReaders
|
||||
namespace NadekoBot.Common.TypeReaders
|
||||
{
|
||||
public class KwumTypeReader : NadekoTypeReader<kwum>
|
||||
{
|
||||
|
@@ -2,7 +2,7 @@
|
||||
using System.Collections.Generic;
|
||||
using System.Text.RegularExpressions;
|
||||
|
||||
namespace NadekoBot.Core.Common.TypeReaders.Models
|
||||
namespace NadekoBot.Common.TypeReaders.Models
|
||||
{
|
||||
public class StoopidTime
|
||||
{
|
||||
|
@@ -3,7 +3,7 @@ using System.Linq;
|
||||
using System.Threading.Tasks;
|
||||
using Discord.Commands;
|
||||
using NadekoBot.Extensions;
|
||||
using NadekoBot.Core.Common.TypeReaders;
|
||||
using NadekoBot.Common.TypeReaders;
|
||||
using Discord.WebSocket;
|
||||
|
||||
namespace NadekoBot.Common.TypeReaders
|
||||
|
@@ -1,7 +1,7 @@
|
||||
using Discord.Commands;
|
||||
using Discord.WebSocket;
|
||||
|
||||
namespace NadekoBot.Core.Common.TypeReaders
|
||||
namespace NadekoBot.Common.TypeReaders
|
||||
{
|
||||
public abstract class NadekoTypeReader<T> : TypeReader
|
||||
{
|
||||
|
@@ -3,7 +3,7 @@ using System.Threading.Tasks;
|
||||
using Discord.Commands;
|
||||
using Discord.WebSocket;
|
||||
using NadekoBot.Common.TypeReaders.Models;
|
||||
using NadekoBot.Core.Common.TypeReaders;
|
||||
using NadekoBot.Common.TypeReaders;
|
||||
|
||||
namespace NadekoBot.Common.TypeReaders
|
||||
{
|
||||
|
@@ -4,7 +4,7 @@ using Discord.Commands;
|
||||
using Discord.WebSocket;
|
||||
using SixLabors.ImageSharp;
|
||||
|
||||
namespace NadekoBot.Core.Common.TypeReaders
|
||||
namespace NadekoBot.Common.TypeReaders
|
||||
{
|
||||
public class Rgba32TypeReader : NadekoTypeReader<Color>
|
||||
{
|
||||
|
@@ -1,14 +1,14 @@
|
||||
using Discord.Commands;
|
||||
using Discord.WebSocket;
|
||||
using Microsoft.Extensions.DependencyInjection;
|
||||
using NadekoBot.Core.Services;
|
||||
using NadekoBot.Services;
|
||||
using System;
|
||||
using System.Text.RegularExpressions;
|
||||
using System.Threading.Tasks;
|
||||
using NadekoBot.Db;
|
||||
using NadekoBot.Modules.Gambling.Services;
|
||||
|
||||
namespace NadekoBot.Core.Common.TypeReaders
|
||||
namespace NadekoBot.Common.TypeReaders
|
||||
{
|
||||
public class ShmartNumberTypeReader : NadekoTypeReader<ShmartNumber>
|
||||
{
|
||||
|
@@ -1,10 +1,10 @@
|
||||
using Discord.Commands;
|
||||
using Discord.WebSocket;
|
||||
using NadekoBot.Core.Common.TypeReaders.Models;
|
||||
using NadekoBot.Common.TypeReaders.Models;
|
||||
using System;
|
||||
using System.Threading.Tasks;
|
||||
|
||||
namespace NadekoBot.Core.Common.TypeReaders
|
||||
namespace NadekoBot.Common.TypeReaders
|
||||
{
|
||||
public class StoopidTimeTypeReader : NadekoTypeReader<StoopidTime>
|
||||
{
|
||||
|
@@ -1,7 +1,7 @@
|
||||
using System.Collections.Generic;
|
||||
using System.Linq;
|
||||
using Microsoft.EntityFrameworkCore;
|
||||
using NadekoBot.Core.Services.Database.Models;
|
||||
using NadekoBot.Services.Database.Models;
|
||||
|
||||
namespace NadekoBot.Db
|
||||
{
|
||||
|
@@ -2,7 +2,7 @@
|
||||
using System.Collections.Generic;
|
||||
using System.Linq;
|
||||
using LinqToDB;
|
||||
using NadekoBot.Core.Services.Database.Models;
|
||||
using NadekoBot.Services.Database.Models;
|
||||
|
||||
namespace NadekoBot.Db
|
||||
{
|
||||
|
@@ -1,6 +1,6 @@
|
||||
using System.Linq;
|
||||
using Microsoft.EntityFrameworkCore;
|
||||
using NadekoBot.Core.Services.Database.Models;
|
||||
using NadekoBot.Services.Database.Models;
|
||||
|
||||
namespace NadekoBot.Db
|
||||
{
|
||||
|
@@ -3,7 +3,7 @@ using System.Linq;
|
||||
using Microsoft.EntityFrameworkCore;
|
||||
using Discord;
|
||||
using System.Collections.Generic;
|
||||
using NadekoBot.Core.Services.Database;
|
||||
using NadekoBot.Services.Database;
|
||||
|
||||
namespace NadekoBot.Db
|
||||
{
|
||||
|
@@ -1,9 +1,9 @@
|
||||
using NadekoBot.Core.Services.Database.Models;
|
||||
using NadekoBot.Services.Database.Models;
|
||||
using System.Collections.Generic;
|
||||
using System.Linq;
|
||||
using Microsoft.EntityFrameworkCore;
|
||||
using System;
|
||||
using NadekoBot.Core.Services.Database;
|
||||
using NadekoBot.Services.Database;
|
||||
using NadekoBot.Db.Models;
|
||||
|
||||
namespace NadekoBot.Db
|
||||
|
@@ -1,6 +1,6 @@
|
||||
using System.Threading.Tasks;
|
||||
using Microsoft.EntityFrameworkCore;
|
||||
using NadekoBot.Core.Services.Database.Models;
|
||||
using NadekoBot.Services.Database.Models;
|
||||
|
||||
namespace NadekoBot.Db
|
||||
{
|
||||
|
@@ -2,7 +2,7 @@
|
||||
using System.Collections.Generic;
|
||||
using System.Linq;
|
||||
using Microsoft.EntityFrameworkCore;
|
||||
using NadekoBot.Core.Services.Database.Models;
|
||||
using NadekoBot.Services.Database.Models;
|
||||
|
||||
namespace NadekoBot.Db
|
||||
{
|
||||
|
@@ -2,8 +2,8 @@
|
||||
using System.Collections.Generic;
|
||||
using System.Linq;
|
||||
using Microsoft.EntityFrameworkCore;
|
||||
using NadekoBot.Core.Services.Database;
|
||||
using NadekoBot.Core.Services.Database.Models;
|
||||
using NadekoBot.Services.Database;
|
||||
using NadekoBot.Services.Database.Models;
|
||||
using NadekoBot.Db;
|
||||
|
||||
namespace NadekoBot.Db
|
||||
|
@@ -1,4 +1,4 @@
|
||||
using NadekoBot.Core.Services.Database.Models;
|
||||
using NadekoBot.Services.Database.Models;
|
||||
using System.Collections.Generic;
|
||||
using System.Linq;
|
||||
using System.Threading.Tasks;
|
||||
|
@@ -1,4 +1,4 @@
|
||||
using NadekoBot.Core.Services.Database.Models;
|
||||
using NadekoBot.Services.Database.Models;
|
||||
using Microsoft.EntityFrameworkCore;
|
||||
using System.Collections.Generic;
|
||||
using System.Linq;
|
||||
|
@@ -1,4 +1,4 @@
|
||||
using NadekoBot.Core.Services.Database.Models;
|
||||
using NadekoBot.Services.Database.Models;
|
||||
using System.Collections.Generic;
|
||||
using System.Linq;
|
||||
using Microsoft.EntityFrameworkCore;
|
||||
|
@@ -2,8 +2,8 @@
|
||||
using Microsoft.EntityFrameworkCore;
|
||||
using System.Collections.Generic;
|
||||
using LinqToDB;
|
||||
using NadekoBot.Core.Services.Database;
|
||||
using NadekoBot.Core.Services.Database.Models;
|
||||
using NadekoBot.Services.Database;
|
||||
using NadekoBot.Services.Database.Models;
|
||||
|
||||
namespace NadekoBot.Db
|
||||
{
|
||||
|
@@ -2,8 +2,8 @@
|
||||
using System.Collections.Generic;
|
||||
using System.Linq;
|
||||
using Microsoft.EntityFrameworkCore;
|
||||
using NadekoBot.Core.Services.Database;
|
||||
using NadekoBot.Core.Services.Database.Models;
|
||||
using NadekoBot.Services.Database;
|
||||
using NadekoBot.Services.Database.Models;
|
||||
using NadekoBot.Db.Models;
|
||||
|
||||
namespace NadekoBot.Db
|
||||
|
@@ -1,4 +1,4 @@
|
||||
using NadekoBot.Core.Services.Database.Models;
|
||||
using NadekoBot.Services.Database.Models;
|
||||
using Microsoft.EntityFrameworkCore;
|
||||
using System.Linq;
|
||||
using System.Threading.Tasks;
|
||||
|
@@ -1,6 +1,6 @@
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
namespace NadekoBot.Core.Services.Database.Models
|
||||
namespace NadekoBot.Services.Database.Models
|
||||
{
|
||||
public class AntiRaidSetting : DbEntity
|
||||
{
|
||||
|
@@ -1,4 +1,4 @@
|
||||
namespace NadekoBot.Core.Services.Database.Models
|
||||
namespace NadekoBot.Services.Database.Models
|
||||
{
|
||||
public class AutoCommand : DbEntity
|
||||
{
|
||||
|
@@ -1,4 +1,4 @@
|
||||
namespace NadekoBot.Core.Services.Database.Models
|
||||
namespace NadekoBot.Services.Database.Models
|
||||
{
|
||||
public class BanTemplate : DbEntity
|
||||
{
|
||||
|
@@ -1,7 +1,7 @@
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
|
||||
namespace NadekoBot.Core.Services.Database.Models
|
||||
namespace NadekoBot.Services.Database.Models
|
||||
{
|
||||
public class BlacklistEntry : DbEntity
|
||||
{
|
||||
|
@@ -1,6 +1,6 @@
|
||||
using System.Collections.Generic;
|
||||
using System.ComponentModel.DataAnnotations;
|
||||
using NadekoBot.Core.Services.Database.Models;
|
||||
using NadekoBot.Services.Database.Models;
|
||||
|
||||
namespace NadekoBot.Db.Models
|
||||
{
|
||||
|
@@ -1,4 +1,4 @@
|
||||
namespace NadekoBot.Core.Services.Database.Models
|
||||
namespace NadekoBot.Services.Database.Models
|
||||
{
|
||||
public class CommandAlias : DbEntity
|
||||
{
|
||||
|
@@ -1,4 +1,4 @@
|
||||
namespace NadekoBot.Core.Services.Database.Models
|
||||
namespace NadekoBot.Services.Database.Models
|
||||
{
|
||||
public class CommandCooldown : DbEntity
|
||||
{
|
||||
|
@@ -1,4 +1,4 @@
|
||||
namespace NadekoBot.Core.Services.Database.Models
|
||||
namespace NadekoBot.Services.Database.Models
|
||||
{
|
||||
public class CurrencyTransaction : DbEntity
|
||||
{
|
||||
|
@@ -3,7 +3,7 @@ using System;
|
||||
using System.ComponentModel.DataAnnotations.Schema;
|
||||
using System.Text.RegularExpressions;
|
||||
|
||||
namespace NadekoBot.Core.Services.Database.Models
|
||||
namespace NadekoBot.Services.Database.Models
|
||||
{
|
||||
public class CustomReaction : DbEntity
|
||||
{
|
||||
|
@@ -1,7 +1,7 @@
|
||||
using System;
|
||||
using System.ComponentModel.DataAnnotations;
|
||||
|
||||
namespace NadekoBot.Core.Services.Database.Models
|
||||
namespace NadekoBot.Services.Database.Models
|
||||
{
|
||||
public class DbEntity
|
||||
{
|
||||
|
@@ -1,4 +1,4 @@
|
||||
namespace NadekoBot.Core.Services.Database.Models
|
||||
namespace NadekoBot.Services.Database.Models
|
||||
{
|
||||
public class DelMsgOnCmdChannel : DbEntity
|
||||
{
|
||||
|
@@ -1,6 +1,6 @@
|
||||
using Discord;
|
||||
|
||||
namespace NadekoBot.Core.Services.Database.Models
|
||||
namespace NadekoBot.Services.Database.Models
|
||||
{
|
||||
public class DiscordPermOverride : DbEntity
|
||||
{
|
||||
|
@@ -1,5 +1,5 @@
|
||||
using System;
|
||||
using NadekoBot.Core.Services.Database.Models;
|
||||
using NadekoBot.Services.Database.Models;
|
||||
|
||||
namespace NadekoBot.Db.Models
|
||||
{
|
||||
|
@@ -1,6 +1,6 @@
|
||||
using System.Collections.Generic;
|
||||
|
||||
namespace NadekoBot.Core.Services.Database.Models
|
||||
namespace NadekoBot.Services.Database.Models
|
||||
{
|
||||
public class CurrencyEvent
|
||||
{
|
||||
|
@@ -1,6 +1,6 @@
|
||||
using System;
|
||||
|
||||
namespace NadekoBot.Core.Services.Database.Models
|
||||
namespace NadekoBot.Services.Database.Models
|
||||
{
|
||||
public class FeedSub : DbEntity
|
||||
{
|
||||
|
@@ -1,4 +1,4 @@
|
||||
namespace NadekoBot.Core.Services.Database.Models
|
||||
namespace NadekoBot.Services.Database.Models
|
||||
{
|
||||
public class FilterChannelId : DbEntity
|
||||
{
|
||||
|
@@ -1,4 +1,4 @@
|
||||
namespace NadekoBot.Core.Services.Database.Models
|
||||
namespace NadekoBot.Services.Database.Models
|
||||
{
|
||||
public class FilterLinksChannelId : DbEntity
|
||||
{
|
||||
|
@@ -1,4 +1,4 @@
|
||||
namespace NadekoBot.Core.Services.Database.Models
|
||||
namespace NadekoBot.Services.Database.Models
|
||||
{
|
||||
public class FilteredWord : DbEntity
|
||||
{
|
||||
|
@@ -1,5 +1,5 @@
|
||||
using System;
|
||||
using NadekoBot.Core.Services.Database.Models;
|
||||
using NadekoBot.Services.Database.Models;
|
||||
using NadekoBot.Modules.Searches.Common;
|
||||
|
||||
namespace NadekoBot.Db.Models
|
||||
|
@@ -1,4 +1,4 @@
|
||||
namespace NadekoBot.Core.Services.Database.Models
|
||||
namespace NadekoBot.Services.Database.Models
|
||||
{
|
||||
public class GCChannelId : DbEntity
|
||||
{
|
||||
|
@@ -1,4 +1,4 @@
|
||||
namespace NadekoBot.Core.Services.Database.Models
|
||||
namespace NadekoBot.Services.Database.Models
|
||||
{
|
||||
public class GroupName : DbEntity
|
||||
{
|
||||
|
@@ -3,7 +3,7 @@ using NadekoBot.Common.Collections;
|
||||
using System.Collections.Generic;
|
||||
using NadekoBot.Db.Models;
|
||||
|
||||
namespace NadekoBot.Core.Services.Database.Models
|
||||
namespace NadekoBot.Services.Database.Models
|
||||
{
|
||||
public class GuildConfig : DbEntity
|
||||
{
|
||||
|
@@ -1,4 +1,4 @@
|
||||
namespace NadekoBot.Core.Services.Database.Models
|
||||
namespace NadekoBot.Services.Database.Models
|
||||
{
|
||||
public class IgnoredLogChannel : DbEntity
|
||||
{
|
||||
|
@@ -1,4 +1,4 @@
|
||||
namespace NadekoBot.Core.Services.Database.Models
|
||||
namespace NadekoBot.Services.Database.Models
|
||||
{
|
||||
public class IgnoredVoicePresenceChannel : DbEntity
|
||||
{
|
||||
|
@@ -1,6 +1,6 @@
|
||||
using System.Collections.Generic;
|
||||
|
||||
namespace NadekoBot.Core.Services.Database.Models
|
||||
namespace NadekoBot.Services.Database.Models
|
||||
{
|
||||
|
||||
public class LogSetting : DbEntity
|
||||
|
@@ -1,6 +1,6 @@
|
||||
using System.Collections.Generic;
|
||||
|
||||
namespace NadekoBot.Core.Services.Database.Models
|
||||
namespace NadekoBot.Services.Database.Models
|
||||
{
|
||||
public class MusicPlaylist : DbEntity
|
||||
{
|
||||
|
@@ -1,4 +1,4 @@
|
||||
namespace NadekoBot.Core.Services.Database.Models
|
||||
namespace NadekoBot.Services.Database.Models
|
||||
{
|
||||
public class MusicPlayerSettings
|
||||
{
|
||||
|
@@ -1,4 +1,4 @@
|
||||
namespace NadekoBot.Core.Services.Database.Models
|
||||
namespace NadekoBot.Services.Database.Models
|
||||
{
|
||||
public class MutedUserId : DbEntity
|
||||
{
|
||||
|
@@ -1,6 +1,6 @@
|
||||
using System;
|
||||
|
||||
namespace NadekoBot.Core.Services.Database.Models
|
||||
namespace NadekoBot.Services.Database.Models
|
||||
{
|
||||
public class NsfwBlacklitedTag : DbEntity
|
||||
{
|
||||
|
@@ -2,7 +2,7 @@
|
||||
using System.ComponentModel.DataAnnotations.Schema;
|
||||
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))]
|
||||
public class Permission : DbEntity
|
||||
|
@@ -1,4 +1,4 @@
|
||||
namespace NadekoBot.Core.Services.Database.Models
|
||||
namespace NadekoBot.Services.Database.Models
|
||||
{
|
||||
public class PlantedCurrency : DbEntity
|
||||
{
|
||||
|
Some files were not shown because too many files have changed in this diff Show More
Reference in New Issue
Block a user