userinfo title fix

This commit is contained in:
Ben Harris 2017-12-05 11:57:24 -05:00
parent 6a6a4abe2e
commit 708bf7409e
1 changed files with 3 additions and 2 deletions

View File

@ -13,7 +13,7 @@ namespace dotbot.Commands
{
[Command("userinfo")]
[Summary("Returns info about the current user, or the user parameter, if one passed.")]
[Alias("user", "whois")]
[Alias("user", "whois", "whoami")]
public async Task UserInfoAsync([Summary("The (optional) user to get info for")] SocketGuildUser infoUser = null)
{
if (Context.IsPrivate)
@ -25,7 +25,8 @@ namespace dotbot.Commands
var user = infoUser ?? Context.Guild.CurrentUser;
var embed = new EmbedBuilder
{
Title = $"User Info for {user.Mention}",
Title = "User Info",
Description = $"{user.Mention}",
ThumbnailUrl = user.GetAvatarUrl(),
Color = new Color(0, 0, 255),
};