chore: code cleanup (mostly whitespace / remove unused imports)
This commit is contained in:
@@ -18,8 +18,8 @@ public class ErrorMessageService
|
||||
// globally rate limit errors for now, don't want to spam users when something breaks
|
||||
private static readonly Duration MinErrorInterval = Duration.FromSeconds(10);
|
||||
private static readonly Duration IntervalFromStartup = Duration.FromMinutes(2);
|
||||
private readonly ILogger _logger;
|
||||
|
||||
private readonly ILogger _logger;
|
||||
private readonly BotConfig _botConfig;
|
||||
private readonly IMetrics _metrics;
|
||||
private readonly DiscordApiClient _rest;
|
||||
|
@@ -1,6 +1,5 @@
|
||||
using Serilog;
|
||||
|
||||
using Myriad.Cache;
|
||||
using Myriad.Gateway;
|
||||
using Myriad.Rest;
|
||||
|
||||
@@ -10,11 +9,11 @@ namespace PluralKit.Bot;
|
||||
|
||||
public class PrivateChannelService
|
||||
{
|
||||
private static readonly Dictionary<ulong, ulong> _channelsCache = new();
|
||||
|
||||
private readonly ILogger _logger;
|
||||
private readonly ModelRepository _repo;
|
||||
private readonly DiscordApiClient _rest;
|
||||
|
||||
private static Dictionary<ulong, ulong> _channelsCache = new();
|
||||
public PrivateChannelService(ILogger logger, ModelRepository repo, DiscordApiClient rest)
|
||||
{
|
||||
_logger = logger;
|
||||
|
Reference in New Issue
Block a user