Browse Source

Fixed Webhook avatarUrls

tags/1.0.0-rc2
RogueException 8 years ago
parent
commit
d60d1e4a03
1 changed files with 1 additions and 1 deletions
  1. +1
    -1
      src/Discord.Net.Webhook/DiscordWebhookClient.cs

+ 1
- 1
src/Discord.Net.Webhook/DiscordWebhookClient.cs 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);
}



Loading…
Cancel
Save