예제 #1
0
 /// <summary>
 /// Deletes this webhook permanently.
 /// </summary>
 /// <exception cref="ArgumentException">Thrown if the token is empty or only contains whitespace characters.</exception>
 /// <exception cref="ArgumentNullException">Thrown if token is null.</exception>
 /// <exception cref="DiscordHttpApiException"></exception>
 public Task DeleteWithToken(string token)
 {
     return(http.DeleteWebhookWithToken(Id, token));
 }