常用方法
常用方法
常用方法
常用方法
/// <summary> /// Modifies the settings of this webhook. /// </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 ModifyWithToken(string token, string name = null, DiscordImageData avatar = null) { return(http.ModifyWebhookWithToken(Id, token, name, avatar)); }