fix webhook ctor (#3008)
This commit is contained in:
@@ -70,6 +70,7 @@ public class DiscordWebhookClient : IDisposable
|
|||||||
{
|
{
|
||||||
Webhook = webhook;
|
Webhook = webhook;
|
||||||
_webhookId = Webhook.Id;
|
_webhookId = Webhook.Id;
|
||||||
|
ApiClient.LoginAsync(TokenType.Webhook, webhook.Token).GetAwaiter().GetResult();
|
||||||
}
|
}
|
||||||
|
|
||||||
/// <summary>
|
/// <summary>
|
||||||
|
|||||||
Reference in New Issue
Block a user