Exemplo n.º 1
0
 /// <summary>
 /// Gets a list of all webhooks for this channel.
 /// <para>Requires <see cref="DiscordPermission.ManageWebhooks"/>.</para>
 /// </summary>
 /// <exception cref="DiscordHttpApiException"></exception>
 public Task <IReadOnlyList <DiscordWebhook> > GetWebhooks()
 {
     return(http.GetChannelWebhooks(Id));
 }