Cat and dog in embeds, avatar getter gets 1024px instead of 128, urban shows tags
This commit is contained in:
parent
45f289d071
commit
98a0a302df
4 changed files with 18 additions and 10 deletions
|
@ -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)
|
||||
{
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue