- xp template reload now uses new pubsub

- multiplexer.GetSubscriber().subscribe is no longer used in any service
- fixed some build warnings
This commit is contained in:
Kwoth
2021-07-03 00:57:47 +02:00
parent 941d393971
commit e681978f83
5 changed files with 31 additions and 14 deletions

View File

@@ -3,14 +3,13 @@ using Microsoft.Extensions.Configuration;
using System.IO;
using Microsoft.Extensions.Primitives;
using NadekoBot.Common;
using NadekoBot.Common;
using NadekoBot.Common.Yml;
using Serilog;
namespace NadekoBot.Services
{
// todo check why is memory usage so unstable
public class BotCredsProvider
public sealed class BotCredsProvider
{
private readonly int? _totalShards;
private const string _credsFileName = "creds.yml";

View File

@@ -30,8 +30,9 @@ namespace NadekoBot.Services
return AnsiConsoleTheme.Code;
#if DEBUG
return AnsiConsoleTheme.Code;
#endif
#else
return ConsoleTheme.None;
#endif
}
}
}