Fixed Webhook avatarUrls
This commit is contained in:
@@ -55,7 +55,7 @@ namespace Discord.Webhook
|
|||||||
if (username != null)
|
if (username != null)
|
||||||
args.Username = username;
|
args.Username = username;
|
||||||
if (avatarUrl != null)
|
if (avatarUrl != null)
|
||||||
args.AvatarUrl = username;
|
args.AvatarUrl = avatarUrl;
|
||||||
await ApiClient.CreateWebhookMessageAsync(_webhookId, args, options).ConfigureAwait(false);
|
await ApiClient.CreateWebhookMessageAsync(_webhookId, args, options).ConfigureAwait(false);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user