|
@@ -17,7 +17,7 @@ namespace _04_webhook_client |
|
|
// The webhook url follows the format https://discordapp.com/api/webhooks/{id}/{token} |
|
|
// The webhook url follows the format https://discordapp.com/api/webhooks/{id}/{token} |
|
|
// Because anyone with the webhook URL can use your webhook |
|
|
// Because anyone with the webhook URL can use your webhook |
|
|
// you should NOT hard code the URL or ID + token into your application. |
|
|
// you should NOT hard code the URL or ID + token into your application. |
|
|
using (var client = new DiscordWebhookClient(webhookId: 0, webhookToken:"")) |
|
|
|
|
|
|
|
|
using (var client = new DiscordWebhookClient(webhookId: 0, webhookToken: "")) |
|
|
{ |
|
|
{ |
|
|
var embed = new EmbedBuilder |
|
|
var embed = new EmbedBuilder |
|
|
{ |
|
|
{ |
|
|