Ejemplo n.º 1
0
 /// <summary>
 /// Creates a webhook
 /// </summary>
 /// <param name="channelId">ID of the channel</param>
 /// <param name="properties">Options for creating/modifying the webhook</param>
 /// <returns>The created webhook</returns>
 public static DiscordDefaultWebhook CreateWebhook(this DiscordClient client, ulong channelId, DiscordWebhookProperties properties)
 {
     return(client.CreateWebhookAsync(channelId, properties).Result);
 }