From 29b28ba742b0430c6978033b0a58efcbfcdeaf28 Mon Sep 17 00:00:00 2001 From: spiral Date: Tue, 2 Nov 2021 22:47:14 -0400 Subject: [PATCH] lint >:( --- PluralKit.Bot/Services/EmbedService.cs | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/PluralKit.Bot/Services/EmbedService.cs b/PluralKit.Bot/Services/EmbedService.cs index 6d0e8c3c..77202a76 100644 --- a/PluralKit.Bot/Services/EmbedService.cs +++ b/PluralKit.Bot/Services/EmbedService.cs @@ -332,11 +332,13 @@ namespace PluralKit.Bot if (roles != null && roles.Count > 0) { var rolesString = string.Join(", ", roles - .Select(id => { + .Select(id => + { _cache.TryGetRole(id, out var role); if (role != null) return role; - return new Role() { + return new Role() + { Name = "*(unknown role)*", Position = 0, };