run dotnet format

This commit is contained in:
spiral
2021-08-27 11:03:47 -04:00
parent 05989242f9
commit ac2671452d
278 changed files with 1913 additions and 1808 deletions

View File

@@ -1,4 +1,4 @@
#nullable enable
#nullable enable
using System.Collections.Concurrent;
using System.Collections.Generic;
@@ -18,7 +18,7 @@ namespace PluralKit.Bot
_cache[msg.ChannelId] = new(current, previous?.Current);
}
private CachedMessage ToCachedMessage(Message msg) =>
private CachedMessage ToCachedMessage(Message msg) =>
new(msg.Id, msg.ReferencedMessage.Value?.Id, msg.Author.Username);
public CacheEntry? GetLastMessage(ulong channel)
@@ -73,4 +73,4 @@ namespace PluralKit.Bot
public record CacheEntry(CachedMessage Current, CachedMessage? Previous);
public record CachedMessage(ulong Id, ulong? ReferencedMessage, string AuthorUsername);
}
}