Example #1
0
 /// <summary>
 /// Modifies this news channel's settings.
 /// <para>Requires <see cref="DiscordPermission.ManageChannels"/>.</para>
 /// </summary>
 /// <param name="options">A set of options to modify the channel with</param>
 /// <returns>Returns the updated news channel.</returns>
 /// <exception cref="ArgumentNullException"></exception>
 /// <exception cref="DiscordHttpApiException"></exception>
 public Task <DiscordGuildNewsChannel> Modify(GuildNewsChannelOptions options)
 {
     return(http.ModifyNewsChannel(Id, options));
 }