Fixed Webhook avatarUrls

This commit is contained in:
RogueException
2017-04-06 20:30:21 -03:00
parent cbb38bd101
commit d60d1e4a03

View File

@@ -55,7 +55,7 @@ namespace Discord.Webhook
if (username != null)
args.Username = username;
if (avatarUrl != null)
args.AvatarUrl = username;
args.AvatarUrl = avatarUrl;
await ApiClient.CreateWebhookMessageAsync(_webhookId, args, options).ConfigureAwait(false);
}