mirror of
https://gitlab.com/Kwoth/nadekobot.git
synced 2025-09-11 01:38:27 -04:00
Updated some namespaces, finished some todos. v5 should be cancelled probably as the code is too intertwined to make it modular
This commit is contained in:
@@ -2,7 +2,7 @@
|
|||||||
using LinqToDB.Common;
|
using LinqToDB.Common;
|
||||||
using LinqToDB.EntityFrameworkCore;
|
using LinqToDB.EntityFrameworkCore;
|
||||||
using Microsoft.EntityFrameworkCore;
|
using Microsoft.EntityFrameworkCore;
|
||||||
using NadekoBot.Services.Database;
|
|
||||||
|
|
||||||
namespace NadekoBot.Services;
|
namespace NadekoBot.Services;
|
||||||
|
|
||||||
|
@@ -1,8 +1,6 @@
|
|||||||
using Microsoft.EntityFrameworkCore;
|
using Microsoft.EntityFrameworkCore;
|
||||||
using NadekoBot.Db;
|
using NadekoBot.Db;
|
||||||
using NadekoBot.Db.Models;
|
using NadekoBot.Db.Models;
|
||||||
// todo fix these namespaces. It should only be Nadeko.Bot.Db
|
|
||||||
using NadekoBot.Services.Database;
|
|
||||||
|
|
||||||
namespace NadekoBot.Extensions;
|
namespace NadekoBot.Extensions;
|
||||||
|
|
||||||
|
@@ -12,7 +12,7 @@ global using Nadeko.Common; // new project
|
|||||||
global using NadekoBot.Common; // old + nadekobot specific things
|
global using NadekoBot.Common; // old + nadekobot specific things
|
||||||
global using NadekoBot.Common.Attributes;
|
global using NadekoBot.Common.Attributes;
|
||||||
global using NadekoBot.Extensions;
|
global using NadekoBot.Extensions;
|
||||||
// global using Nadeko.Snake;
|
// global using Nadeko.Medusa;
|
||||||
|
|
||||||
// discord
|
// discord
|
||||||
global using Discord;
|
global using Discord;
|
||||||
|
@@ -1,5 +1,5 @@
|
|||||||
#nullable disable
|
#nullable disable
|
||||||
using NadekoBot.Services.Database.Models;
|
using Nadeko.Bot.Db.Models;
|
||||||
|
|
||||||
namespace NadekoBot;
|
namespace NadekoBot;
|
||||||
|
|
||||||
|
@@ -1,4 +1,4 @@
|
|||||||
using NadekoBot.Services.Database.Models;
|
using Nadeko.Bot.Db.Models;
|
||||||
|
|
||||||
namespace NadekoBot.Common;
|
namespace NadekoBot.Common;
|
||||||
|
|
||||||
|
@@ -1,6 +1,6 @@
|
|||||||
using System.Globalization;
|
using System.Globalization;
|
||||||
|
|
||||||
namespace Nadeko.Medusa;
|
namespace Nadeko.Common.Medusa;
|
||||||
|
|
||||||
public interface IMedusaLoaderService
|
public interface IMedusaLoaderService
|
||||||
{
|
{
|
||||||
|
@@ -1,4 +1,4 @@
|
|||||||
namespace Nadeko.Medusa;
|
namespace Nadeko.Common.Medusa;
|
||||||
|
|
||||||
public enum MedusaLoadResult
|
public enum MedusaLoadResult
|
||||||
{
|
{
|
||||||
|
@@ -1,4 +1,4 @@
|
|||||||
namespace Nadeko.Medusa;
|
namespace Nadeko.Common.Medusa;
|
||||||
|
|
||||||
public enum MedusaUnloadResult
|
public enum MedusaUnloadResult
|
||||||
{
|
{
|
||||||
|
@@ -34,6 +34,8 @@
|
|||||||
</ItemGroup>
|
</ItemGroup>
|
||||||
|
|
||||||
<ItemGroup>
|
<ItemGroup>
|
||||||
<AdditionalFiles Include="..\NadekoBot\data\strings\responses\responses.en-US.json" />
|
<AdditionalFiles Include="..\NadekoBot\data\strings\responses\responses.en-US.json">
|
||||||
|
<Link>responses.en-US.json</Link>
|
||||||
|
</AdditionalFiles>
|
||||||
</ItemGroup>
|
</ItemGroup>
|
||||||
</Project>
|
</Project>
|
||||||
|
@@ -79,9 +79,10 @@ public abstract class NadekoModule : ModuleBase
|
|||||||
|
|
||||||
public async Task<bool> PromptUserConfirmAsync(IEmbedBuilder embed)
|
public async Task<bool> PromptUserConfirmAsync(IEmbedBuilder embed)
|
||||||
{
|
{
|
||||||
embed.WithPendingColor().WithFooter("yes/no");
|
embed.WithPendingColor()
|
||||||
|
.WithFooter("yes/no");
|
||||||
|
|
||||||
var msg = await ctx.Channel.EmbedAsync(embed);
|
var msg = await MessageChannelExtensions.EmbedAsync(ctx.Channel, embed);
|
||||||
try
|
try
|
||||||
{
|
{
|
||||||
var input = await GetUserInputAsync(ctx.User.Id, ctx.Channel.Id);
|
var input = await GetUserInputAsync(ctx.User.Id, ctx.Channel.Id);
|
||||||
|
@@ -1,7 +1,7 @@
|
|||||||
using LinqToDB;
|
using LinqToDB;
|
||||||
using LinqToDB.EntityFrameworkCore;
|
using LinqToDB.EntityFrameworkCore;
|
||||||
using NadekoBot.Db.Models;
|
using NadekoBot.Db.Models;
|
||||||
using NadekoBot.Services.Database.Models;
|
using Nadeko.Bot.Db.Models;
|
||||||
|
|
||||||
namespace NadekoBot.Services.Currency;
|
namespace NadekoBot.Services.Currency;
|
||||||
|
|
||||||
|
@@ -2,7 +2,7 @@ using LinqToDB;
|
|||||||
using LinqToDB.EntityFrameworkCore;
|
using LinqToDB.EntityFrameworkCore;
|
||||||
using NadekoBot.Common.ModuleBehaviors;
|
using NadekoBot.Common.ModuleBehaviors;
|
||||||
using NadekoBot.Services.Currency;
|
using NadekoBot.Services.Currency;
|
||||||
using NadekoBot.Services.Database.Models;
|
using Nadeko.Bot.Db.Models;
|
||||||
|
|
||||||
namespace NadekoBot.Services;
|
namespace NadekoBot.Services;
|
||||||
|
|
||||||
|
@@ -1,5 +1,5 @@
|
|||||||
#nullable disable
|
#nullable disable
|
||||||
using NadekoBot.Services.Database.Models;
|
using Nadeko.Bot.Db.Models;
|
||||||
|
|
||||||
namespace NadekoBot.Modules.Utility.Services;
|
namespace NadekoBot.Modules.Utility.Services;
|
||||||
|
|
||||||
|
@@ -5,7 +5,7 @@ using LinqToDB.EntityFrameworkCore;
|
|||||||
using NadekoBot.Common.ModuleBehaviors;
|
using NadekoBot.Common.ModuleBehaviors;
|
||||||
using NadekoBot.Db;
|
using NadekoBot.Db;
|
||||||
using NadekoBot.Db.Models;
|
using NadekoBot.Db.Models;
|
||||||
using NadekoBot.Services.Database.Models;
|
using Nadeko.Bot.Db.Models;
|
||||||
|
|
||||||
namespace NadekoBot.Modules.Permissions.Services;
|
namespace NadekoBot.Modules.Permissions.Services;
|
||||||
|
|
||||||
|
@@ -1,4 +1,5 @@
|
|||||||
using CommandLine;
|
using CommandLine;
|
||||||
|
using Nadeko.Common.Medusa;
|
||||||
|
|
||||||
namespace NadekoBot.Common;
|
namespace NadekoBot.Common;
|
||||||
|
|
||||||
@@ -9,7 +10,7 @@ public sealed class CommandsUtilityService : ICommandsUtilityService, INService
|
|||||||
private readonly DiscordPermOverrideService _dpos;
|
private readonly DiscordPermOverrideService _dpos;
|
||||||
private readonly IEmbedBuilderService _eb;
|
private readonly IEmbedBuilderService _eb;
|
||||||
private readonly ILocalization _loc;
|
private readonly ILocalization _loc;
|
||||||
private readonly Nadeko.Medusa.IMedusaLoaderService _medusae;
|
private readonly IMedusaLoaderService _medusae;
|
||||||
|
|
||||||
public CommandsUtilityService(
|
public CommandsUtilityService(
|
||||||
CommandHandler ch,
|
CommandHandler ch,
|
||||||
@@ -17,7 +18,7 @@ public sealed class CommandsUtilityService : ICommandsUtilityService, INService
|
|||||||
DiscordPermOverrideService dpos,
|
DiscordPermOverrideService dpos,
|
||||||
IEmbedBuilderService eb,
|
IEmbedBuilderService eb,
|
||||||
ILocalization loc,
|
ILocalization loc,
|
||||||
Nadeko.Medusa.IMedusaLoaderService medusae)
|
IMedusaLoaderService medusae)
|
||||||
{
|
{
|
||||||
_ch = ch;
|
_ch = ch;
|
||||||
_strings = strings;
|
_strings = strings;
|
||||||
@@ -46,10 +47,9 @@ public sealed class CommandsUtilityService : ICommandsUtilityService, INService
|
|||||||
if (reqs.Any())
|
if (reqs.Any())
|
||||||
em.AddField(GetText(strs.requires, guild), string.Join("\n", reqs));
|
em.AddField(GetText(strs.requires, guild), string.Join("\n", reqs));
|
||||||
|
|
||||||
em.AddField(_strings.GetText(strs.usage),
|
Extensions.Extensions.WithOkColor(em.AddField(_strings.GetText(strs.usage),
|
||||||
string.Join("\n", com.RealRemarksArr(_strings, _medusae, culture, prefix).Map(arg => Format.Code(arg))))
|
string.Join("\n", com.RealRemarksArr(_strings, _medusae, culture, prefix).Map(arg => Format.Code(arg))))
|
||||||
.WithFooter(GetText(strs.module(com.Module.GetTopLevelModule().Name), guild))
|
.WithFooter(GetText(strs.module(com.Module.GetTopLevelModule().Name), guild)));
|
||||||
.WithOkColor();
|
|
||||||
|
|
||||||
var opt = GetNadekoOptionType(com.Attributes);
|
var opt = GetNadekoOptionType(com.Attributes);
|
||||||
if (opt is not null)
|
if (opt is not null)
|
||||||
|
@@ -1,7 +1,7 @@
|
|||||||
#nullable disable
|
#nullable disable
|
||||||
using Microsoft.EntityFrameworkCore;
|
using Microsoft.EntityFrameworkCore;
|
||||||
using NadekoBot.Common.ModuleBehaviors;
|
using NadekoBot.Common.ModuleBehaviors;
|
||||||
using NadekoBot.Services.Database.Models;
|
using Nadeko.Bot.Db.Models;
|
||||||
|
|
||||||
namespace NadekoBot.Services;
|
namespace NadekoBot.Services;
|
||||||
|
|
||||||
|
@@ -3,7 +3,7 @@ using System.Diagnostics;
|
|||||||
using System.Globalization;
|
using System.Globalization;
|
||||||
using System.Text.Json;
|
using System.Text.Json;
|
||||||
using System.Text.RegularExpressions;
|
using System.Text.RegularExpressions;
|
||||||
using Nadeko.Medusa;
|
using Nadeko.Common.Medusa;
|
||||||
|
|
||||||
namespace NadekoBot.Extensions;
|
namespace NadekoBot.Extensions;
|
||||||
|
|
||||||
|
@@ -1,3 +1,4 @@
|
|||||||
|
|
||||||
namespace NadekoBot.Extensions;
|
namespace NadekoBot.Extensions;
|
||||||
|
|
||||||
public static class MessageChannelExtensions
|
public static class MessageChannelExtensions
|
||||||
@@ -91,10 +92,6 @@ public static class MessageChannelExtensions
|
|||||||
return ch.EmbedAsync(builder, inter: inter);
|
return ch.EmbedAsync(builder, inter: inter);
|
||||||
}
|
}
|
||||||
|
|
||||||
// regular send overloads
|
|
||||||
public static Task<IUserMessage> SendErrorAsync(this IMessageChannel ch, IEmbedBuilderService eb, string text)
|
|
||||||
=> ch.SendAsync(eb, text, MsgType.Error);
|
|
||||||
|
|
||||||
public static Task<IUserMessage> SendConfirmAsync(this IMessageChannel ch, IEmbedBuilderService eb, string text)
|
public static Task<IUserMessage> SendConfirmAsync(this IMessageChannel ch, IEmbedBuilderService eb, string text)
|
||||||
=> ch.SendAsync(eb, text, MsgType.Ok);
|
=> ch.SendAsync(eb, text, MsgType.Ok);
|
||||||
|
|
||||||
@@ -148,6 +145,10 @@ public static class MessageChannelExtensions
|
|||||||
string? footer = null)
|
string? footer = null)
|
||||||
=> ch.SendAsync(eb, MsgType.Error, title, text, url, footer);
|
=> ch.SendAsync(eb, MsgType.Error, title, text, url, footer);
|
||||||
|
|
||||||
|
// regular send overloads
|
||||||
|
public static Task<IUserMessage> SendErrorAsync(this IMessageChannel ch, IEmbedBuilderService eb, string text)
|
||||||
|
=> ch.SendAsync(eb, text, MsgType.Error);
|
||||||
|
|
||||||
public static Task SendPaginatedConfirmAsync(
|
public static Task SendPaginatedConfirmAsync(
|
||||||
this ICommandContext ctx,
|
this ICommandContext ctx,
|
||||||
int currentPage,
|
int currentPage,
|
||||||
|
@@ -1,4 +1,5 @@
|
|||||||
namespace NadekoBot.Extensions;
|
|
||||||
|
namespace NadekoBot.Extensions;
|
||||||
|
|
||||||
public static class SocketMessageComponentExtensions
|
public static class SocketMessageComponentExtensions
|
||||||
{
|
{
|
||||||
|
@@ -1,7 +1,7 @@
|
|||||||
#nullable disable
|
#nullable disable
|
||||||
using LinqToDB.EntityFrameworkCore;
|
using LinqToDB.EntityFrameworkCore;
|
||||||
using Microsoft.EntityFrameworkCore;
|
using Microsoft.EntityFrameworkCore;
|
||||||
using NadekoBot.Services.Database.Models;
|
using Nadeko.Bot.Db.Models;
|
||||||
|
|
||||||
namespace NadekoBot.Db;
|
namespace NadekoBot.Db;
|
||||||
|
|
||||||
|
@@ -1,6 +1,6 @@
|
|||||||
#nullable disable
|
#nullable disable
|
||||||
using Microsoft.EntityFrameworkCore;
|
using Microsoft.EntityFrameworkCore;
|
||||||
using NadekoBot.Services.Database.Models;
|
using Nadeko.Bot.Db.Models;
|
||||||
|
|
||||||
namespace NadekoBot.Db;
|
namespace NadekoBot.Db;
|
||||||
|
|
||||||
|
@@ -1,8 +1,8 @@
|
|||||||
#nullable disable
|
#nullable disable
|
||||||
using Microsoft.EntityFrameworkCore;
|
using Microsoft.EntityFrameworkCore;
|
||||||
using NadekoBot.Db.Models;
|
using NadekoBot.Db.Models;
|
||||||
using NadekoBot.Services.Database;
|
|
||||||
using NadekoBot.Services.Database.Models;
|
using Nadeko.Bot.Db.Models;
|
||||||
|
|
||||||
namespace NadekoBot.Db;
|
namespace NadekoBot.Db;
|
||||||
|
|
||||||
|
@@ -1,7 +1,7 @@
|
|||||||
#nullable disable
|
#nullable disable
|
||||||
using LinqToDB;
|
using LinqToDB;
|
||||||
using Microsoft.EntityFrameworkCore;
|
using Microsoft.EntityFrameworkCore;
|
||||||
using NadekoBot.Services.Database.Models;
|
using Nadeko.Bot.Db.Models;
|
||||||
|
|
||||||
namespace NadekoBot.Db;
|
namespace NadekoBot.Db;
|
||||||
|
|
||||||
|
@@ -1,6 +1,6 @@
|
|||||||
#nullable disable
|
#nullable disable
|
||||||
using Microsoft.EntityFrameworkCore;
|
using Microsoft.EntityFrameworkCore;
|
||||||
using NadekoBot.Services.Database.Models;
|
using Nadeko.Bot.Db.Models;
|
||||||
|
|
||||||
namespace NadekoBot.Db;
|
namespace NadekoBot.Db;
|
||||||
|
|
||||||
@@ -29,10 +29,8 @@ public static class QuoteExtensions
|
|||||||
ulong guildId,
|
ulong guildId,
|
||||||
string keyword)
|
string keyword)
|
||||||
{
|
{
|
||||||
// todo figure shuffle out
|
return (await quotes.AsQueryable().Where(q => q.GuildId == guildId && q.Keyword == keyword).ToArrayAsync())
|
||||||
return (await quotes.AsQueryable().Where(q => q.GuildId == guildId && q.Keyword == keyword).ToListAsync())
|
.RandomOrDefault();
|
||||||
.Shuffle()
|
|
||||||
.FirstOrDefault();
|
|
||||||
}
|
}
|
||||||
|
|
||||||
public static async Task<Quote> SearchQuoteKeywordTextAsync(
|
public static async Task<Quote> SearchQuoteKeywordTextAsync(
|
||||||
@@ -41,15 +39,13 @@ public static class QuoteExtensions
|
|||||||
string keyword,
|
string keyword,
|
||||||
string text)
|
string text)
|
||||||
{
|
{
|
||||||
var rngk = new NadekoRandom();
|
|
||||||
return (await quotes.AsQueryable()
|
return (await quotes.AsQueryable()
|
||||||
.Where(q => q.GuildId == guildId
|
.Where(q => q.GuildId == guildId
|
||||||
&& (keyword == null || q.Keyword == keyword)
|
&& (keyword == null || q.Keyword == keyword)
|
||||||
&& (EF.Functions.Like(q.Text.ToUpper(), $"%{text.ToUpper()}%")
|
&& (EF.Functions.Like(q.Text.ToUpper(), $"%{text.ToUpper()}%")
|
||||||
|| EF.Functions.Like(q.AuthorName, text)))
|
|| EF.Functions.Like(q.AuthorName, text)))
|
||||||
.ToListAsync())
|
.ToArrayAsync())
|
||||||
.OrderBy(_ => rngk.Next())
|
.RandomOrDefault();
|
||||||
.FirstOrDefault();
|
|
||||||
}
|
}
|
||||||
|
|
||||||
public static void RemoveAllByKeyword(this DbSet<Quote> quotes, ulong guildId, string keyword)
|
public static void RemoveAllByKeyword(this DbSet<Quote> quotes, ulong guildId, string keyword)
|
||||||
|
@@ -1,6 +1,6 @@
|
|||||||
#nullable disable
|
#nullable disable
|
||||||
using Microsoft.EntityFrameworkCore;
|
using Microsoft.EntityFrameworkCore;
|
||||||
using NadekoBot.Services.Database.Models;
|
using Nadeko.Bot.Db.Models;
|
||||||
|
|
||||||
namespace NadekoBot.Db;
|
namespace NadekoBot.Db;
|
||||||
|
|
||||||
|
@@ -1,6 +1,6 @@
|
|||||||
#nullable disable
|
#nullable disable
|
||||||
using Microsoft.EntityFrameworkCore;
|
using Microsoft.EntityFrameworkCore;
|
||||||
using NadekoBot.Services.Database.Models;
|
using Nadeko.Bot.Db.Models;
|
||||||
|
|
||||||
namespace NadekoBot.Db;
|
namespace NadekoBot.Db;
|
||||||
|
|
||||||
|
@@ -2,8 +2,8 @@
|
|||||||
using LinqToDB;
|
using LinqToDB;
|
||||||
using LinqToDB.EntityFrameworkCore;
|
using LinqToDB.EntityFrameworkCore;
|
||||||
using Microsoft.EntityFrameworkCore;
|
using Microsoft.EntityFrameworkCore;
|
||||||
using NadekoBot.Services.Database;
|
|
||||||
using NadekoBot.Services.Database.Models;
|
using Nadeko.Bot.Db.Models;
|
||||||
|
|
||||||
namespace NadekoBot.Db;
|
namespace NadekoBot.Db;
|
||||||
|
|
||||||
|
@@ -1,6 +1,6 @@
|
|||||||
#nullable disable
|
#nullable disable
|
||||||
using Microsoft.EntityFrameworkCore;
|
using Microsoft.EntityFrameworkCore;
|
||||||
using NadekoBot.Services.Database.Models;
|
using Nadeko.Bot.Db.Models;
|
||||||
|
|
||||||
namespace NadekoBot.Db;
|
namespace NadekoBot.Db;
|
||||||
|
|
||||||
|
@@ -7,12 +7,11 @@
|
|||||||
//
|
//
|
||||||
// // nadekobot
|
// // nadekobot
|
||||||
global using NadekoBot;
|
global using NadekoBot;
|
||||||
global using NadekoBot.Services;
|
|
||||||
global using Nadeko.Common;
|
global using Nadeko.Common;
|
||||||
// global using NadekoBot.Common; // old + nadekobot specific things
|
// global using NadekoBot.Common; // old + nadekobot specific things
|
||||||
// global using NadekoBot.Common.Attributes;
|
// global using NadekoBot.Common.Attributes;
|
||||||
// global using NadekoBot.Extensions;
|
// global using NadekoBot.Extensions;
|
||||||
// global using Nadeko.Snake;
|
// global using Nadeko.Medusa;
|
||||||
|
|
||||||
// // discord
|
// // discord
|
||||||
// global using Discord;
|
// global using Discord;
|
||||||
|
@@ -1,5 +1,5 @@
|
|||||||
#nullable disable
|
#nullable disable
|
||||||
namespace NadekoBot.Services.Database.Models;
|
namespace Nadeko.Bot.Db.Models;
|
||||||
|
|
||||||
public class AutoCommand : DbEntity
|
public class AutoCommand : DbEntity
|
||||||
{
|
{
|
||||||
|
@@ -1,4 +1,4 @@
|
|||||||
using NadekoBot.Services.Database.Models;
|
using Nadeko.Bot.Db.Models;
|
||||||
|
|
||||||
namespace NadekoBot.Db.Models;
|
namespace NadekoBot.Db.Models;
|
||||||
|
|
||||||
|
@@ -1,5 +1,5 @@
|
|||||||
#nullable disable
|
#nullable disable
|
||||||
namespace NadekoBot.Services.Database.Models;
|
namespace Nadeko.Bot.Db.Models;
|
||||||
|
|
||||||
public class AutoTranslateChannel : DbEntity
|
public class AutoTranslateChannel : DbEntity
|
||||||
{
|
{
|
||||||
|
@@ -1,5 +1,5 @@
|
|||||||
#nullable disable
|
#nullable disable
|
||||||
namespace NadekoBot.Services.Database.Models;
|
namespace Nadeko.Bot.Db.Models;
|
||||||
|
|
||||||
public class AutoTranslateUser : DbEntity
|
public class AutoTranslateUser : DbEntity
|
||||||
{
|
{
|
||||||
|
@@ -1,5 +1,5 @@
|
|||||||
#nullable disable
|
#nullable disable
|
||||||
namespace NadekoBot.Services.Database.Models;
|
namespace Nadeko.Bot.Db.Models;
|
||||||
|
|
||||||
public class BlacklistEntry : DbEntity
|
public class BlacklistEntry : DbEntity
|
||||||
{
|
{
|
||||||
|
@@ -1,5 +1,5 @@
|
|||||||
#nullable disable
|
#nullable disable
|
||||||
namespace NadekoBot.Services.Database.Models;
|
namespace Nadeko.Bot.Db.Models;
|
||||||
|
|
||||||
public class CommandAlias : DbEntity
|
public class CommandAlias : DbEntity
|
||||||
{
|
{
|
||||||
|
@@ -1,5 +1,5 @@
|
|||||||
#nullable disable
|
#nullable disable
|
||||||
namespace NadekoBot.Services.Database.Models;
|
namespace Nadeko.Bot.Db.Models;
|
||||||
|
|
||||||
public class CommandCooldown : DbEntity
|
public class CommandCooldown : DbEntity
|
||||||
{
|
{
|
||||||
|
@@ -1,5 +1,5 @@
|
|||||||
#nullable disable
|
#nullable disable
|
||||||
namespace NadekoBot.Services.Database.Models;
|
namespace Nadeko.Bot.Db.Models;
|
||||||
|
|
||||||
public class CurrencyTransaction : DbEntity
|
public class CurrencyTransaction : DbEntity
|
||||||
{
|
{
|
||||||
|
@@ -1,7 +1,7 @@
|
|||||||
#nullable disable
|
#nullable disable
|
||||||
using System.ComponentModel.DataAnnotations;
|
using System.ComponentModel.DataAnnotations;
|
||||||
|
|
||||||
namespace NadekoBot.Services.Database.Models;
|
namespace Nadeko.Bot.Db.Models;
|
||||||
|
|
||||||
public class DbEntity
|
public class DbEntity
|
||||||
{
|
{
|
||||||
|
@@ -1,5 +1,5 @@
|
|||||||
#nullable disable
|
#nullable disable
|
||||||
namespace NadekoBot.Services.Database.Models;
|
namespace Nadeko.Bot.Db.Models;
|
||||||
|
|
||||||
public class DelMsgOnCmdChannel : DbEntity
|
public class DelMsgOnCmdChannel : DbEntity
|
||||||
{
|
{
|
||||||
|
@@ -1,7 +1,7 @@
|
|||||||
#nullable disable
|
#nullable disable
|
||||||
using Nadeko.Bot.Db;
|
using Nadeko.Bot.Db;
|
||||||
|
|
||||||
namespace NadekoBot.Services.Database.Models;
|
namespace Nadeko.Bot.Db.Models;
|
||||||
|
|
||||||
public class DiscordPermOverride : DbEntity
|
public class DiscordPermOverride : DbEntity
|
||||||
{
|
{
|
||||||
|
@@ -1,5 +1,5 @@
|
|||||||
#nullable disable
|
#nullable disable
|
||||||
using NadekoBot.Services.Database.Models;
|
using Nadeko.Bot.Db.Models;
|
||||||
|
|
||||||
namespace NadekoBot.Db.Models;
|
namespace NadekoBot.Db.Models;
|
||||||
|
|
||||||
|
@@ -1,5 +1,5 @@
|
|||||||
#nullable disable
|
#nullable disable
|
||||||
namespace NadekoBot.Services.Database.Models;
|
namespace Nadeko.Bot.Db.Models;
|
||||||
|
|
||||||
public class CurrencyEvent
|
public class CurrencyEvent
|
||||||
{
|
{
|
||||||
|
@@ -1,5 +1,5 @@
|
|||||||
#nullable disable
|
#nullable disable
|
||||||
namespace NadekoBot.Services.Database.Models;
|
namespace Nadeko.Bot.Db.Models;
|
||||||
|
|
||||||
public class FeedSub : DbEntity
|
public class FeedSub : DbEntity
|
||||||
{
|
{
|
||||||
|
@@ -1,5 +1,5 @@
|
|||||||
#nullable disable
|
#nullable disable
|
||||||
using NadekoBot.Services.Database.Models;
|
using Nadeko.Bot.Db.Models;
|
||||||
|
|
||||||
namespace NadekoBot.Db.Models;
|
namespace NadekoBot.Db.Models;
|
||||||
|
|
||||||
|
@@ -1,5 +1,5 @@
|
|||||||
#nullable disable
|
#nullable disable
|
||||||
namespace NadekoBot.Services.Database.Models;
|
namespace Nadeko.Bot.Db.Models;
|
||||||
|
|
||||||
public class GCChannelId : DbEntity
|
public class GCChannelId : DbEntity
|
||||||
{
|
{
|
||||||
|
@@ -1,5 +1,5 @@
|
|||||||
#nullable disable
|
#nullable disable
|
||||||
namespace NadekoBot.Services.Database.Models;
|
namespace Nadeko.Bot.Db.Models;
|
||||||
|
|
||||||
public class GamblingStats : DbEntity
|
public class GamblingStats : DbEntity
|
||||||
{
|
{
|
||||||
|
@@ -1,5 +1,5 @@
|
|||||||
#nullable disable
|
#nullable disable
|
||||||
namespace NadekoBot.Services.Database.Models;
|
namespace Nadeko.Bot.Db.Models;
|
||||||
|
|
||||||
public class GroupName : DbEntity
|
public class GroupName : DbEntity
|
||||||
{
|
{
|
||||||
|
@@ -1,7 +1,7 @@
|
|||||||
#nullable disable
|
#nullable disable
|
||||||
using NadekoBot.Db.Models;
|
using NadekoBot.Db.Models;
|
||||||
|
|
||||||
namespace NadekoBot.Services.Database.Models;
|
namespace Nadeko.Bot.Db.Models;
|
||||||
|
|
||||||
public class GuildConfig : DbEntity
|
public class GuildConfig : DbEntity
|
||||||
{
|
{
|
||||||
|
@@ -1,5 +1,5 @@
|
|||||||
#nullable disable
|
#nullable disable
|
||||||
namespace NadekoBot.Services.Database.Models;
|
namespace Nadeko.Bot.Db.Models;
|
||||||
|
|
||||||
public class IgnoredLogItem : DbEntity
|
public class IgnoredLogItem : DbEntity
|
||||||
{
|
{
|
||||||
|
@@ -1,5 +1,5 @@
|
|||||||
#nullable disable
|
#nullable disable
|
||||||
namespace NadekoBot.Services.Database.Models;
|
namespace Nadeko.Bot.Db.Models;
|
||||||
|
|
||||||
public class IgnoredVoicePresenceChannel : DbEntity
|
public class IgnoredVoicePresenceChannel : DbEntity
|
||||||
{
|
{
|
||||||
|
@@ -1,5 +1,5 @@
|
|||||||
#nullable disable
|
#nullable disable
|
||||||
namespace NadekoBot.Services.Database.Models;
|
namespace Nadeko.Bot.Db.Models;
|
||||||
|
|
||||||
public class ImageOnlyChannel : DbEntity
|
public class ImageOnlyChannel : DbEntity
|
||||||
{
|
{
|
||||||
|
@@ -1,5 +1,5 @@
|
|||||||
#nullable disable
|
#nullable disable
|
||||||
namespace NadekoBot.Services.Database.Models;
|
namespace Nadeko.Bot.Db.Models;
|
||||||
|
|
||||||
public class LogSetting : DbEntity
|
public class LogSetting : DbEntity
|
||||||
{
|
{
|
||||||
|
@@ -1,5 +1,5 @@
|
|||||||
#nullable disable
|
#nullable disable
|
||||||
namespace NadekoBot.Services.Database.Models;
|
namespace Nadeko.Bot.Db.Models;
|
||||||
|
|
||||||
public class NsfwBlacklistedTag : DbEntity
|
public class NsfwBlacklistedTag : DbEntity
|
||||||
{
|
{
|
||||||
|
@@ -2,7 +2,7 @@
|
|||||||
using System.ComponentModel.DataAnnotations.Schema;
|
using System.ComponentModel.DataAnnotations.Schema;
|
||||||
using System.Diagnostics;
|
using System.Diagnostics;
|
||||||
|
|
||||||
namespace NadekoBot.Services.Database.Models;
|
namespace Nadeko.Bot.Db.Models;
|
||||||
|
|
||||||
[DebuggerDisplay("{PrimaryTarget}{SecondaryTarget} {SecondaryTargetName} {State} {PrimaryTargetId}")]
|
[DebuggerDisplay("{PrimaryTarget}{SecondaryTarget} {SecondaryTargetName} {State} {PrimaryTargetId}")]
|
||||||
public class Permissionv2 : DbEntity, IIndexed
|
public class Permissionv2 : DbEntity, IIndexed
|
||||||
|
@@ -1,5 +1,5 @@
|
|||||||
#nullable disable
|
#nullable disable
|
||||||
namespace NadekoBot.Services.Database.Models;
|
namespace Nadeko.Bot.Db.Models;
|
||||||
|
|
||||||
public class PlantedCurrency : DbEntity
|
public class PlantedCurrency : DbEntity
|
||||||
{
|
{
|
||||||
|
@@ -1,5 +1,5 @@
|
|||||||
#nullable disable
|
#nullable disable
|
||||||
namespace NadekoBot.Services.Database.Models;
|
namespace Nadeko.Bot.Db.Models;
|
||||||
|
|
||||||
public class PlaylistSong : DbEntity
|
public class PlaylistSong : DbEntity
|
||||||
{
|
{
|
||||||
|
@@ -1,5 +1,5 @@
|
|||||||
#nullable disable
|
#nullable disable
|
||||||
namespace NadekoBot.Services.Database.Models;
|
namespace Nadeko.Bot.Db.Models;
|
||||||
|
|
||||||
public class Poll : DbEntity
|
public class Poll : DbEntity
|
||||||
{
|
{
|
||||||
|
@@ -1,5 +1,5 @@
|
|||||||
#nullable disable
|
#nullable disable
|
||||||
namespace NadekoBot.Services.Database.Models;
|
namespace Nadeko.Bot.Db.Models;
|
||||||
|
|
||||||
public class PollVote : DbEntity
|
public class PollVote : DbEntity
|
||||||
{
|
{
|
||||||
|
@@ -1,7 +1,7 @@
|
|||||||
#nullable disable
|
#nullable disable
|
||||||
using System.ComponentModel.DataAnnotations;
|
using System.ComponentModel.DataAnnotations;
|
||||||
|
|
||||||
namespace NadekoBot.Services.Database.Models;
|
namespace Nadeko.Bot.Db.Models;
|
||||||
|
|
||||||
public class ReactionRoleV2 : DbEntity
|
public class ReactionRoleV2 : DbEntity
|
||||||
{
|
{
|
||||||
|
@@ -1,5 +1,5 @@
|
|||||||
#nullable disable
|
#nullable disable
|
||||||
namespace NadekoBot.Services.Database.Models;
|
namespace Nadeko.Bot.Db.Models;
|
||||||
|
|
||||||
public class Reminder : DbEntity
|
public class Reminder : DbEntity
|
||||||
{
|
{
|
||||||
|
@@ -1,5 +1,5 @@
|
|||||||
#nullable disable
|
#nullable disable
|
||||||
namespace NadekoBot.Services.Database.Models;
|
namespace Nadeko.Bot.Db.Models;
|
||||||
|
|
||||||
public class Repeater
|
public class Repeater
|
||||||
{
|
{
|
||||||
|
@@ -1,7 +1,7 @@
|
|||||||
#nullable disable
|
#nullable disable
|
||||||
using Nadeko.Bot.Db;
|
using Nadeko.Bot.Db;
|
||||||
|
|
||||||
namespace NadekoBot.Services.Database.Models;
|
namespace Nadeko.Bot.Db.Models;
|
||||||
|
|
||||||
public class RotatingPlayingStatus : DbEntity
|
public class RotatingPlayingStatus : DbEntity
|
||||||
{
|
{
|
||||||
|
@@ -1,5 +1,5 @@
|
|||||||
#nullable disable
|
#nullable disable
|
||||||
namespace NadekoBot.Services.Database.Models;
|
namespace Nadeko.Bot.Db.Models;
|
||||||
|
|
||||||
public class SelfAssignedRole : DbEntity
|
public class SelfAssignedRole : DbEntity
|
||||||
{
|
{
|
||||||
|
@@ -1,5 +1,5 @@
|
|||||||
#nullable disable
|
#nullable disable
|
||||||
namespace NadekoBot.Services.Database.Models;
|
namespace Nadeko.Bot.Db.Models;
|
||||||
|
|
||||||
public enum ShopEntryType
|
public enum ShopEntryType
|
||||||
{
|
{
|
||||||
|
@@ -1,5 +1,5 @@
|
|||||||
#nullable disable
|
#nullable disable
|
||||||
using NadekoBot.Services.Database.Models;
|
using Nadeko.Bot.Db.Models;
|
||||||
|
|
||||||
namespace NadekoBot.Db.Models;
|
namespace NadekoBot.Db.Models;
|
||||||
|
|
||||||
|
@@ -1,5 +1,5 @@
|
|||||||
#nullable disable
|
#nullable disable
|
||||||
namespace NadekoBot.Services.Database.Models;
|
namespace Nadeko.Bot.Db.Models;
|
||||||
|
|
||||||
public class StreamRoleSettings : DbEntity
|
public class StreamRoleSettings : DbEntity
|
||||||
{
|
{
|
||||||
|
@@ -1,5 +1,5 @@
|
|||||||
#nullable disable
|
#nullable disable
|
||||||
namespace NadekoBot.Services.Database.Models;
|
namespace Nadeko.Bot.Db.Models;
|
||||||
|
|
||||||
public class VcRoleInfo : DbEntity
|
public class VcRoleInfo : DbEntity
|
||||||
{
|
{
|
||||||
|
@@ -1,4 +1,4 @@
|
|||||||
namespace NadekoBot.Services.Database.Models;
|
namespace Nadeko.Bot.Db.Models;
|
||||||
|
|
||||||
public class AntiAltSetting
|
public class AntiAltSetting
|
||||||
{
|
{
|
||||||
|
@@ -1,5 +1,5 @@
|
|||||||
#nullable disable
|
#nullable disable
|
||||||
namespace NadekoBot.Services.Database.Models;
|
namespace Nadeko.Bot.Db.Models;
|
||||||
|
|
||||||
|
|
||||||
// todo db required, nullable?
|
// todo db required, nullable?
|
||||||
|
@@ -1,4 +1,4 @@
|
|||||||
namespace NadekoBot.Services.Database.Models;
|
namespace Nadeko.Bot.Db.Models;
|
||||||
|
|
||||||
public class AntiSpamIgnore : DbEntity
|
public class AntiSpamIgnore : DbEntity
|
||||||
{
|
{
|
||||||
|
@@ -1,4 +1,4 @@
|
|||||||
namespace NadekoBot.Services.Database.Models;
|
namespace Nadeko.Bot.Db.Models;
|
||||||
|
|
||||||
public class AntiSpamSetting : DbEntity
|
public class AntiSpamSetting : DbEntity
|
||||||
{
|
{
|
||||||
|
@@ -1,5 +1,5 @@
|
|||||||
#nullable disable
|
#nullable disable
|
||||||
using NadekoBot.Services.Database.Models;
|
using Nadeko.Bot.Db.Models;
|
||||||
using System.ComponentModel.DataAnnotations;
|
using System.ComponentModel.DataAnnotations;
|
||||||
|
|
||||||
namespace NadekoBot.Db.Models;
|
namespace NadekoBot.Db.Models;
|
||||||
|
@@ -1,4 +1,4 @@
|
|||||||
using NadekoBot.Services.Database.Models;
|
using Nadeko.Bot.Db.Models;
|
||||||
|
|
||||||
namespace NadekoBot.Db.Models;
|
namespace NadekoBot.Db.Models;
|
||||||
|
|
||||||
|
@@ -1,5 +1,5 @@
|
|||||||
#nullable disable
|
#nullable disable
|
||||||
namespace NadekoBot.Services.Database.Models;
|
namespace Nadeko.Bot.Db.Models;
|
||||||
|
|
||||||
public class NadekoExpression : DbEntity
|
public class NadekoExpression : DbEntity
|
||||||
{
|
{
|
||||||
|
@@ -1,7 +1,7 @@
|
|||||||
#nullable disable
|
#nullable disable
|
||||||
using System.ComponentModel.DataAnnotations;
|
using System.ComponentModel.DataAnnotations;
|
||||||
|
|
||||||
namespace NadekoBot.Services.Database.Models;
|
namespace Nadeko.Bot.Db.Models;
|
||||||
|
|
||||||
public class Quote : DbEntity
|
public class Quote : DbEntity
|
||||||
{
|
{
|
||||||
|
@@ -1,5 +1,5 @@
|
|||||||
#nullable disable
|
#nullable disable
|
||||||
namespace NadekoBot.Services.Database.Models;
|
namespace Nadeko.Bot.Db.Models;
|
||||||
|
|
||||||
public class FilterChannelId : DbEntity
|
public class FilterChannelId : DbEntity
|
||||||
{
|
{
|
||||||
|
@@ -1,5 +1,5 @@
|
|||||||
#nullable disable
|
#nullable disable
|
||||||
namespace NadekoBot.Services.Database.Models;
|
namespace Nadeko.Bot.Db.Models;
|
||||||
|
|
||||||
public class FilterLinksChannelId : DbEntity
|
public class FilterLinksChannelId : DbEntity
|
||||||
{
|
{
|
||||||
|
@@ -1,5 +1,5 @@
|
|||||||
#nullable disable
|
#nullable disable
|
||||||
namespace NadekoBot.Services.Database.Models;
|
namespace Nadeko.Bot.Db.Models;
|
||||||
|
|
||||||
public class FilteredWord : DbEntity
|
public class FilteredWord : DbEntity
|
||||||
{
|
{
|
||||||
|
@@ -1,5 +1,5 @@
|
|||||||
#nullable disable
|
#nullable disable
|
||||||
namespace NadekoBot.Services.Database.Models;
|
namespace Nadeko.Bot.Db.Models;
|
||||||
|
|
||||||
public class BanTemplate : DbEntity
|
public class BanTemplate : DbEntity
|
||||||
{
|
{
|
||||||
|
@@ -1,5 +1,5 @@
|
|||||||
#nullable disable
|
#nullable disable
|
||||||
namespace NadekoBot.Services.Database.Models;
|
namespace Nadeko.Bot.Db.Models;
|
||||||
|
|
||||||
public class MutedUserId : DbEntity
|
public class MutedUserId : DbEntity
|
||||||
{
|
{
|
||||||
|
@@ -1,4 +1,4 @@
|
|||||||
namespace NadekoBot.Services.Database.Models;
|
namespace Nadeko.Bot.Db.Models;
|
||||||
|
|
||||||
public enum PunishmentAction
|
public enum PunishmentAction
|
||||||
{
|
{
|
||||||
|
@@ -1,5 +1,5 @@
|
|||||||
#nullable disable
|
#nullable disable
|
||||||
namespace NadekoBot.Services.Database.Models;
|
namespace Nadeko.Bot.Db.Models;
|
||||||
|
|
||||||
public enum WarnExpireAction
|
public enum WarnExpireAction
|
||||||
{
|
{
|
||||||
|
@@ -1,5 +1,5 @@
|
|||||||
#nullable disable
|
#nullable disable
|
||||||
namespace NadekoBot.Services.Database.Models;
|
namespace Nadeko.Bot.Db.Models;
|
||||||
|
|
||||||
public class Warning : DbEntity
|
public class Warning : DbEntity
|
||||||
{
|
{
|
||||||
|
@@ -1,5 +1,5 @@
|
|||||||
#nullable disable
|
#nullable disable
|
||||||
namespace NadekoBot.Services.Database.Models;
|
namespace Nadeko.Bot.Db.Models;
|
||||||
|
|
||||||
public class WarningPunishment : DbEntity
|
public class WarningPunishment : DbEntity
|
||||||
{
|
{
|
||||||
|
@@ -1,5 +1,5 @@
|
|||||||
#nullable disable
|
#nullable disable
|
||||||
namespace NadekoBot.Services.Database.Models;
|
namespace Nadeko.Bot.Db.Models;
|
||||||
|
|
||||||
public class SlowmodeIgnoredRole : DbEntity
|
public class SlowmodeIgnoredRole : DbEntity
|
||||||
{
|
{
|
||||||
|
@@ -1,5 +1,5 @@
|
|||||||
#nullable disable
|
#nullable disable
|
||||||
namespace NadekoBot.Services.Database.Models;
|
namespace Nadeko.Bot.Db.Models;
|
||||||
|
|
||||||
public class SlowmodeIgnoredUser : DbEntity
|
public class SlowmodeIgnoredUser : DbEntity
|
||||||
{
|
{
|
||||||
|
@@ -1,5 +1,5 @@
|
|||||||
#nullable disable
|
#nullable disable
|
||||||
namespace NadekoBot.Services.Database.Models;
|
namespace Nadeko.Bot.Db.Models;
|
||||||
|
|
||||||
public class RewardedUser : DbEntity
|
public class RewardedUser : DbEntity
|
||||||
{
|
{
|
||||||
|
@@ -1,5 +1,5 @@
|
|||||||
#nullable disable
|
#nullable disable
|
||||||
namespace NadekoBot.Services.Database.Models;
|
namespace Nadeko.Bot.Db.Models;
|
||||||
|
|
||||||
public class UnbanTimer : DbEntity
|
public class UnbanTimer : DbEntity
|
||||||
{
|
{
|
||||||
|
@@ -1,5 +1,5 @@
|
|||||||
#nullable disable
|
#nullable disable
|
||||||
namespace NadekoBot.Services.Database.Models;
|
namespace Nadeko.Bot.Db.Models;
|
||||||
|
|
||||||
public class UnmuteTimer : DbEntity
|
public class UnmuteTimer : DbEntity
|
||||||
{
|
{
|
||||||
|
@@ -1,5 +1,5 @@
|
|||||||
#nullable disable
|
#nullable disable
|
||||||
namespace NadekoBot.Services.Database.Models;
|
namespace Nadeko.Bot.Db.Models;
|
||||||
|
|
||||||
public class UnroleTimer : DbEntity
|
public class UnroleTimer : DbEntity
|
||||||
{
|
{
|
||||||
|
@@ -1,5 +1,5 @@
|
|||||||
#nullable disable
|
#nullable disable
|
||||||
namespace NadekoBot.Services.Database.Models;
|
namespace Nadeko.Bot.Db.Models;
|
||||||
|
|
||||||
public class UserXpStats : DbEntity
|
public class UserXpStats : DbEntity
|
||||||
{
|
{
|
||||||
|
@@ -1,5 +1,5 @@
|
|||||||
#nullable disable
|
#nullable disable
|
||||||
namespace NadekoBot.Services.Database.Models;
|
namespace Nadeko.Bot.Db.Models;
|
||||||
|
|
||||||
public class XpSettings : DbEntity
|
public class XpSettings : DbEntity
|
||||||
{
|
{
|
||||||
|
@@ -1,7 +1,7 @@
|
|||||||
#nullable disable
|
#nullable disable
|
||||||
using Microsoft.EntityFrameworkCore;
|
using Microsoft.EntityFrameworkCore;
|
||||||
using NadekoBot.Db;
|
using NadekoBot.Db;
|
||||||
using NadekoBot.Services.Database.Models;
|
using Nadeko.Bot.Db.Models;
|
||||||
|
|
||||||
namespace NadekoBot.Modules.Administration.Services;
|
namespace NadekoBot.Modules.Administration.Services;
|
||||||
|
|
||||||
|
@@ -1,5 +1,5 @@
|
|||||||
#nullable disable
|
#nullable disable
|
||||||
using NadekoBot.Services.Database.Models;
|
using Nadeko.Bot.Db.Models;
|
||||||
using System.Net;
|
using System.Net;
|
||||||
using System.Threading.Channels;
|
using System.Threading.Channels;
|
||||||
using LinqToDB;
|
using LinqToDB;
|
||||||
|
@@ -3,7 +3,7 @@ using LinqToDB;
|
|||||||
using LinqToDB.EntityFrameworkCore;
|
using LinqToDB.EntityFrameworkCore;
|
||||||
using Microsoft.EntityFrameworkCore;
|
using Microsoft.EntityFrameworkCore;
|
||||||
using NadekoBot.Db.Models;
|
using NadekoBot.Db.Models;
|
||||||
using NadekoBot.Services.Database.Models;
|
using Nadeko.Bot.Db.Models;
|
||||||
|
|
||||||
namespace NadekoBot.Modules.Administration.Services;
|
namespace NadekoBot.Modules.Administration.Services;
|
||||||
|
|
||||||
|
@@ -13,7 +13,7 @@ global using Nadeko.Common; // new project
|
|||||||
global using NadekoBot.Common; // old + nadekobot specific things
|
global using NadekoBot.Common; // old + nadekobot specific things
|
||||||
global using NadekoBot.Common.Attributes;
|
global using NadekoBot.Common.Attributes;
|
||||||
global using NadekoBot.Extensions;
|
global using NadekoBot.Extensions;
|
||||||
// global using Nadeko.Snake;
|
// global using Nadeko.Medusa;
|
||||||
|
|
||||||
// discord
|
// discord
|
||||||
global using Discord;
|
global using Discord;
|
||||||
|
@@ -1,6 +1,6 @@
|
|||||||
using NadekoBot.Common.ModuleBehaviors;
|
using NadekoBot.Common.ModuleBehaviors;
|
||||||
using NadekoBot.Db;
|
using NadekoBot.Db;
|
||||||
using NadekoBot.Services.Database.Models;
|
using Nadeko.Bot.Db.Models;
|
||||||
using System.Threading.Channels;
|
using System.Threading.Channels;
|
||||||
|
|
||||||
namespace NadekoBot.Services;
|
namespace NadekoBot.Services;
|
||||||
|
@@ -1,4 +1,4 @@
|
|||||||
using NadekoBot.Services.Database.Models;
|
using Nadeko.Bot.Db.Models;
|
||||||
|
|
||||||
namespace NadekoBot.Services;
|
namespace NadekoBot.Services;
|
||||||
|
|
||||||
|
@@ -4,7 +4,7 @@ using Microsoft.Extensions.Caching.Memory;
|
|||||||
using NadekoBot.Common.ModuleBehaviors;
|
using NadekoBot.Common.ModuleBehaviors;
|
||||||
using System.Net;
|
using System.Net;
|
||||||
using System.Threading.Channels;
|
using System.Threading.Channels;
|
||||||
using NadekoBot.Services.Database.Models;
|
using Nadeko.Bot.Db.Models;
|
||||||
|
|
||||||
namespace NadekoBot.Modules.Administration.Services;
|
namespace NadekoBot.Modules.Administration.Services;
|
||||||
|
|
||||||
|
@@ -1,7 +1,7 @@
|
|||||||
#nullable disable
|
#nullable disable
|
||||||
using Microsoft.EntityFrameworkCore;
|
using Microsoft.EntityFrameworkCore;
|
||||||
using NadekoBot.Db;
|
using NadekoBot.Db;
|
||||||
using NadekoBot.Services.Database.Models;
|
using Nadeko.Bot.Db.Models;
|
||||||
|
|
||||||
namespace NadekoBot.Modules.Administration.Services;
|
namespace NadekoBot.Modules.Administration.Services;
|
||||||
|
|
||||||
|
Some files were not shown because too many files have changed in this diff Show More
Reference in New Issue
Block a user