diff --git a/ChaosBot/Discord/Modules/Admin/RankCheck.cs b/ChaosBot/Discord/Modules/Admin/RankCheck.cs index 22d7158..b21ad3f 100644 --- a/ChaosBot/Discord/Modules/Admin/RankCheck.cs +++ b/ChaosBot/Discord/Modules/Admin/RankCheck.cs @@ -81,16 +81,7 @@ namespace ChaosBot.Discord.Modules.Admin embedContentBuilder.AppendLine(); } - string timezoneAbbreviation = string - .Join("", TimeZoneInfo.Local.DisplayName - .Split(' ') - .Select( - (t, i) => - { - if (i == 0) - return t + ' '; - return t.Substring(0, 1); - })); + string timezoneAbbreviation = TimeZoneInfo.Local.DisplayName.Split(' ').First(); embedContentBuilder.AppendLine($"Reported Generated by <@{Context.User.Id}> at {DateTime.Now} {timezoneAbbreviation}"); embedBuilder.Description = embedContentBuilder.ToString();