Exemple #1
0
 //Webhooks
 /// <summary>
 ///     Gets a webhook found within this guild.
 /// </summary>
 /// <param name="id">The identifier for the webhook.</param>
 /// <param name="options">The options to be used when sending the request.</param>
 /// <returns>
 ///     A task that represents the asynchronous get operation. The task result contains the webhook with the
 ///     specified <paramref name="id"/>; <c>null</c> if none is found.
 /// </returns>
 public Task <RestWebhook> GetWebhookAsync(ulong id, RequestOptions options = null)
 => GuildHelper.GetWebhookAsync(this, Discord, id, options);