예제 #1
0
 /// <summary>
 ///     Gets the webhooks available in this text channel.
 /// </summary>
 /// <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 a read-only collection
 ///     of webhooks that is available in this channel.
 /// </returns>
 public Task <IReadOnlyCollection <RestWebhook> > GetWebhooksAsync(RequestOptions options = null)
 => ChannelHelper.GetWebhooksAsync(this, Discord, options);