This commit is contained in:
Archi
2023-02-04 16:02:28 +01:00
parent 1cdb597acc
commit dc97558ad5
2 changed files with 3 additions and 3 deletions

View File

@@ -112,7 +112,7 @@ public static class Utilities {
public static void InBackground<T>(Func<T> function, bool longRunning = false) {
ArgumentNullException.ThrowIfNull(function);
InBackground(void() => function(), longRunning);
InBackground(void () => function(), longRunning);
}
[PublicAPI]

View File

@@ -2659,9 +2659,9 @@ public sealed class Bot : IAsyncDisposable, IDisposable {
}
if (packagesToRefresh.Count > 0) {
ArchiLogger.LogGenericTrace(Strings.BotRefreshingPackagesData);
ArchiLogger.LogGenericInfo(Strings.BotRefreshingPackagesData);
await ASF.GlobalDatabase.RefreshPackages(this, packagesToRefresh).ConfigureAwait(false);
ArchiLogger.LogGenericTrace(Strings.Done);
ArchiLogger.LogGenericInfo(Strings.Done);
}
if (hasNewEntries) {