Fixed some aliases and reworked namespaces

This commit is contained in:
Kwoth
2024-04-27 16:03:48 +00:00
parent e0819f760c
commit 812b865add
344 changed files with 3166 additions and 3314 deletions

View File

@@ -2,7 +2,7 @@
using NadekoBot.Modules.Gambling.Common;
using NadekoBot.Modules.Gambling.Common.Waifu;
using NadekoBot.Modules.Gambling.Services;
using Nadeko.Bot.Db.Models;
using NadekoBot.Db.Models;
namespace NadekoBot.Modules.Gambling;
@@ -217,7 +217,7 @@ public partial class Gambling
embed.AddField("#" + ((page * 9) + j + 1) + " - " + N(w.Price), GetLbString(w));
}
await ctx.Channel.EmbedAsync(embed);
await EmbedAsync(embed);
}
private string GetLbString(WaifuLbResult w)

View File

@@ -7,7 +7,6 @@ using NadekoBot.Db;
using NadekoBot.Db.Models;
using NadekoBot.Modules.Gambling.Common;
using NadekoBot.Modules.Gambling.Common.Waifu;
using Nadeko.Bot.Db.Models;
namespace NadekoBot.Modules.Gambling.Services;

View File

@@ -1,7 +1,5 @@
#nullable disable
using NadekoBot.Db.Models;
namespace Nadeko.Bot.Db.Models;
namespace NadekoBot.Db.Models;
public class WaifuInfo : DbEntity
{

View File

@@ -4,8 +4,6 @@ using LinqToDB.EntityFrameworkCore;
using Microsoft.EntityFrameworkCore;
using NadekoBot.Db.Models;
using Nadeko.Bot.Db.Models;
namespace NadekoBot.Db;
public static class WaifuExtensions

View File

@@ -1,5 +1,5 @@
#nullable disable
namespace Nadeko.Bot.Db.Models;
namespace NadekoBot.Db.Models;
public class WaifuItem : DbEntity
{

View File

@@ -1,5 +1,5 @@
#nullable disable
namespace Nadeko.Bot.Db.Models;
namespace NadekoBot.Db.Models;
public class WaifuLbResult
{

View File

@@ -1,7 +1,5 @@
#nullable disable
using NadekoBot.Db.Models;
namespace Nadeko.Bot.Db.Models;
namespace NadekoBot.Db.Models;
public class WaifuUpdate : DbEntity
{

View File

@@ -1,5 +1,5 @@
#nullable disable
namespace Nadeko.Bot.Db.Models;
namespace NadekoBot.Db.Models;
public enum WaifuUpdateType
{