mirror of
https://gitlab.com/Kwoth/nadekobot.git
synced 2025-09-11 01:38: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;
|
||||||
|
|
||||||
|
@@ -29,9 +29,9 @@ google:
|
|||||||
imageSearchId:
|
imageSearchId:
|
||||||
# Settings for voting system for discordbots. Meant for use on global Nadeko.
|
# Settings for voting system for discordbots. Meant for use on global Nadeko.
|
||||||
votes:
|
votes:
|
||||||
# top.gg votes service url
|
# top.gg votes service url
|
||||||
# This is the url of your instance of the NadekoBot.Votes api
|
# This is the url of your instance of the NadekoBot.Votes api
|
||||||
# Example: https://votes.my.cool.bot.com
|
# Example: https://votes.my.cool.bot.com
|
||||||
topggServiceUrl: ''
|
topggServiceUrl: ''
|
||||||
# Authorization header value sent to the TopGG service url with each request
|
# Authorization header value sent to the TopGG service url with each request
|
||||||
# This should be equivalent to the TopggKey in your NadekoBot.Votes api appsettings.json file
|
# This should be equivalent to the TopggKey in your NadekoBot.Votes api appsettings.json file
|
||||||
@@ -67,8 +67,8 @@ botCache: Memory
|
|||||||
redisOptions: localhost:6379,syncTimeout=30000,responseTimeout=30000,allowAdmin=true,password=
|
redisOptions: localhost:6379,syncTimeout=30000,responseTimeout=30000,allowAdmin=true,password=
|
||||||
# Database options. Don't change if you don't know what you're doing. Leave null for default values
|
# Database options. Don't change if you don't know what you're doing. Leave null for default values
|
||||||
db:
|
db:
|
||||||
# Database type. "sqlite", "mysql" and "postgresql" are supported.
|
# Database type. "sqlite", "mysql" and "postgresql" are supported.
|
||||||
# Default is "sqlite"
|
# Default is "sqlite"
|
||||||
type: sqlite
|
type: sqlite
|
||||||
# Database connection string.
|
# Database connection string.
|
||||||
# You MUST change this if you're not using "sqlite" type.
|
# You MUST change this if you're not using "sqlite" type.
|
||||||
|
Reference in New Issue
Block a user