mirror of
https://gitlab.com/Kwoth/nadekobot.git
synced 2025-09-10 17:28:27 -04:00
Fixed missing services issue
This commit is contained in:
@@ -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;
|
||||||
|
|
||||||
|
@@ -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;
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user