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, };