mirror of
https://github.com/PluralKit/PluralKit.git
synced 2026-02-07 14:27:54 +00:00
run dotnet format
This commit is contained in:
parent
05989242f9
commit
ac2671452d
278 changed files with 1913 additions and 1808 deletions
|
|
@ -7,7 +7,7 @@ using Sentry;
|
|||
|
||||
namespace PluralKit.Bot
|
||||
{
|
||||
public interface ISentryEnricher<T> where T: IGatewayEvent
|
||||
public interface ISentryEnricher<T> where T : IGatewayEvent
|
||||
{
|
||||
void Enrich(Scope scope, Shard shard, T evt);
|
||||
}
|
||||
|
|
@ -25,10 +25,10 @@ namespace PluralKit.Bot
|
|||
{
|
||||
_bot = bot;
|
||||
}
|
||||
|
||||
|
||||
// TODO: should this class take the Scope by dependency injection instead?
|
||||
// Would allow us to create a centralized "chain of handlers" where this class could just be registered as an entry in
|
||||
|
||||
|
||||
public void Enrich(Scope scope, Shard shard, MessageCreateEvent evt)
|
||||
{
|
||||
scope.AddBreadcrumb(evt.Content, "event.message", data: new Dictionary<string, string>
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue