commit
0ef5b47f44
@ -88,15 +88,15 @@ __`Users:`__ **{(await ch.GetUsersAsync()).Count()}**";
|
||||
var user = usr ?? msg.Author as IGuildUser;
|
||||
if (user == null)
|
||||
return;
|
||||
var toReturn = $"__`Name:`__ **{user.Username}#{user.Discriminator}**\n";
|
||||
var toReturn = $"👤 __`Name:`__ **{user.Username}#{user.Discriminator}**\n";
|
||||
if (!string.IsNullOrWhiteSpace(user.Nickname))
|
||||
toReturn += $"__`Nickname:`__ **{user.Nickname}** ";
|
||||
toReturn += $@"__`ID:`__ **{user.Id}**
|
||||
__`Current Game:`__ **{(user.Game?.Name == null ? "-" : user.Game.Name)}**
|
||||
__`Joined Server:`__ **{user.JoinedAt?.ToString("dd.MM.yyyy HH:mm")}**
|
||||
__`Joined Discord:`__ **{user.CreatedAt.ToString("dd.MM.yyyy HH:mm")}**
|
||||
__`Roles:`__ **({user.Roles.Count()}) - {string.Join(", ", user.Roles.Select(r => r.Name)).SanitizeMentions()}**
|
||||
__`Avatar URL:`__ **{await NadekoBot.Google.ShortenUrl(user.AvatarUrl).ConfigureAwait(false)}**";
|
||||
toReturn += $"🆕 __`Nickname:`__ **{user.Nickname}** ";
|
||||
toReturn += $@"🏷 __`ID:`__ **{user.Id}**
|
||||
🎮 __`Current Game:`__ **{(user.Game?.Name == null ? "-" : user.Game.Name)}**
|
||||
📅 __`Joined Server:`__ **{user.JoinedAt?.ToString("dd.MM.yyyy HH:mm")}**
|
||||
🗓 __`Joined Discord:`__ **{user.CreatedAt.ToString("dd.MM.yyyy HH:mm")}**
|
||||
⚔ __`Roles:`__ **({user.Roles.Count()}) - {string.Join(", ", user.Roles.Select(r => r.Name)).SanitizeMentions()}**
|
||||
📷 __`Avatar URL:`__ **{await NadekoBot.Google.ShortenUrl(user.AvatarUrl).ConfigureAwait(false)}**";
|
||||
await msg.Reply(toReturn).ConfigureAwait(false);
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user