예제 #1
0
 /// <summary>
 /// Deletes this webhook permanently.
 /// <para>Note: current bot must be the owner.</para>
 /// <para>Requires <see cref="DiscordPermission.ManageWebhooks"/>.</para>
 /// </summary>
 /// <exception cref="DiscordHttpApiException"></exception>
 public Task Delete()
 {
     return(http.DeleteWebhook(Id));
 }