diff --git a/NadekoBot/Modules/Administration/Commands/InfoCommands.cs b/NadekoBot/Modules/Administration/Commands/InfoCommands.cs index be6e5ec1..968b4bba 100644 --- a/NadekoBot/Modules/Administration/Commands/InfoCommands.cs +++ b/NadekoBot/Modules/Administration/Commands/InfoCommands.cs @@ -83,9 +83,14 @@ namespace NadekoBot.Modules.Administration.Commands return; var sb = new StringBuilder(); sb.AppendLine($"`Name#Discrim:` **#{user.Name}#{user.Discriminator}**"); + if (!string.IsNullOrWhiteSpace(user.Nickname)) + sb.AppendLine($"`Nickname:` **{user.Nickname}**"); sb.AppendLine($"`Id:` **{user.Id}**"); sb.AppendLine($"`Current Game:` **{(string.IsNullOrWhiteSpace(user.CurrentGame) ? "-" : user.CurrentGame)}**"); sb.AppendLine($"`Joined At:` **{user.JoinedAt}**"); + if (user.LastOnlineAt != null) + sb.AppendLine($"`Last Online:` **{user.LastOnlineAt:HH:mm:ss}**"); + sb.AppendLine($"`Joined At:` **{user.JoinedAt}**"); sb.AppendLine($"`Roles:` **({user.Roles.Count()}) - {string.Join(", ", user.Roles.Select(r => r.Name))}**"); sb.AppendLine($"`AvatarUrl:` **{await user.AvatarUrl.ShortenUrl().ConfigureAwait(false)}**"); await e.Channel.SendMessage(sb.ToString()).ConfigureAwait(false);