public ChatService(IServiceProvider services, IOptions <AppSettings> appSettings) { responseService = services.GetService <ResponseService>(); discordLogger = services.GetService <DiscordLogger>(); officialChat = appSettings.Value.Settings.ProductionGuild.Official; ChatSystem = new Chat(appSettings.Value.ConnectionStrings.ChatHistory); ChatSystem.Log += HandleLog; }
public ErrorResolver(DiscordLogger discordLogger) { logger = discordLogger; }