Fix a stupid bug with the !avatar command
This commit is contained in:
parent
4c3b7044ce
commit
09dbeb9766
1 changed files with 2 additions and 2 deletions
|
@ -21,8 +21,8 @@ namespace Geekbot.Bot.Commands.Utils
|
||||||
{
|
{
|
||||||
try
|
try
|
||||||
{
|
{
|
||||||
if (user == null) user = Context.User;
|
user ??= Context.User;
|
||||||
var url = user.GetAvatarUrl().Replace("128", "1024");
|
var url = user.GetAvatarUrl(ImageFormat.Auto, 1024);
|
||||||
await ReplyAsync(url);
|
await ReplyAsync(url);
|
||||||
}
|
}
|
||||||
catch (Exception e)
|
catch (Exception e)
|
||||||
|
|
Loading…
Reference in a new issue