mirror of
https://gitlab.com/Kwoth/nadekobot.git
synced 2025-11-03 00:04:28 -05:00
Logging should work on selfhosts, not public
This commit is contained in:
@@ -154,7 +154,8 @@ public sealed class Bot
|
||||
{
|
||||
// execute all migrators
|
||||
var migrators = Services.GetServices<IConfigMigrator>();
|
||||
foreach (var migrator in migrators) migrator.EnsureMigrated();
|
||||
foreach (var migrator in migrators)
|
||||
migrator.EnsureMigrated();
|
||||
}
|
||||
|
||||
private IEnumerable<object> LoadTypeReaders(Assembly assembly)
|
||||
|
||||
@@ -93,7 +93,7 @@ public sealed class LogCommandService : ILogCommandService, IReadyExecutor
|
||||
|
||||
public async Task OnReadyAsync()
|
||||
{
|
||||
#if GLOBAL_NADEKO
|
||||
#if !GLOBAL_NADEKO
|
||||
var timer = new PeriodicTimer(TimeSpan.FromSeconds(15));
|
||||
while (await timer.WaitForNextTickAsync())
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user