Cat and dog in embeds, avatar getter gets 1024px instead of 128, urban shows tags

This commit is contained in:
Runebaas 2017-11-11 16:44:47 +01:00
parent 45f289d071
commit 98a0a302df
No known key found for this signature in database
GPG key ID: 2677AF508D0300D6
4 changed files with 18 additions and 10 deletions

View file

@ -16,7 +16,7 @@ namespace Geekbot.net.Commands
}
[Command("avatar", RunMode = RunMode.Async)]
[Remarks(CommandCategories.Randomness)]
[Remarks(CommandCategories.Helpers)]
[Summary("Get someones avatar")]
public async Task getAvatar([Remainder, Summary("user")] IUser user = null)
{
@ -26,7 +26,8 @@ namespace Geekbot.net.Commands
{
user = Context.User;
}
await ReplyAsync(user.GetAvatarUrl());
var url = user.GetAvatarUrl().Replace("128", "1024");
await ReplyAsync(url);
}
catch (Exception e)
{