Updated info command

This commit is contained in:
2026-03-26 21:55:19 +00:00
parent aba6eb9fd4
commit 80a86553ef
3 changed files with 6 additions and 1 deletions

View File

@@ -79,10 +79,11 @@ namespace SkyBot.Commands
}
var sb = new StringBuilder();
sb.AppendLine($"**{target.Name}**");
sb.AppendLine($"**{target.Name.Trim()}**");
sb.AppendLine($"User ID: `{target.UserId}`");
sb.AppendLine($"Member ID: `{target.Id}`");
sb.AppendLine($"Nickname: `{(string.IsNullOrWhiteSpace(target.Nickname) ? "None" : target.Nickname)}`");
sb.AppendLine($"Subscription: `{(string.IsNullOrWhiteSpace(target.User.SubscriptionType) ? "None" : target.User.SubscriptionType)}`");
sb.AppendLine($"Status: `{(string.IsNullOrWhiteSpace(target.Status) ? "None" : target.Status)}`");
sb.AppendLine($"Primary Role: `{target.PrimaryRole?.Name ?? "None"}`");
sb.AppendLine($"Roles: `{string.Join(", ", target.Roles.Select(r => r.Name))}`");