Fixed missing services issue

This commit is contained in:
Kwoth
2023-08-13 02:40:43 +00:00
parent 17ef3caefd
commit dfbe1721f3
3 changed files with 8 additions and 7 deletions

View File

@@ -4,6 +4,7 @@ using NadekoBot.Services.Database.Models;
namespace Nadeko.Bot.Modules.Gambling.Gambling._Common; namespace Nadeko.Bot.Modules.Gambling.Gambling._Common;
// todo organize
public interface IGamblingCleanupService public interface IGamblingCleanupService
{ {
Task DeleteWaifus(); Task DeleteWaifus();
@@ -11,7 +12,7 @@ public interface IGamblingCleanupService
Task DeleteCurrency(); Task DeleteCurrency();
} }
public class GamblingCleanupService : IGamblingCleanupService public class GamblingCleanupService : IGamblingCleanupService, INService
{ {
private readonly DbService _db; private readonly DbService _db;

View File

@@ -4,7 +4,7 @@ using NadekoBot.Services.Database.Models;
namespace NadekoBot.Modules.Xp; namespace NadekoBot.Modules.Xp;
public sealed class XpCleanupService : IXpCleanupService public sealed class XpCleanupService : IXpCleanupService, INService
{ {
private readonly DbService _db; private readonly DbService _db;