Mostly finished, needs to be double-checked/documented

This commit is contained in:
Ske
2020-06-07 01:30:19 +02:00
parent 7c85dc360b
commit 1ac5f9518e
7 changed files with 143 additions and 84 deletions

View File

@@ -6,6 +6,8 @@ using Autofac;
using DSharpPlus;
using DSharpPlus.EventArgs;
using NodaTime;
using PluralKit.Core;
using Sentry;
@@ -86,6 +88,7 @@ namespace PluralKit.Bot
{
Timeout = TimeSpan.FromSeconds(5)
}).AsSelf().SingleInstance();
builder.RegisterInstance(SystemClock.Instance).As<IClock>();
}
}
}