Fix optional param being non-optional (#2869)

This commit is contained in:
Mihail Gribkov
2024-03-02 01:06:46 +03:00
committed by GitHub
parent 2787db3eaa
commit fa51f0a86f

View File

@@ -1,7 +1,7 @@
using System.Threading.Tasks; using System.Threading.Tasks;
namespace Discord namespace Discord;
{
/// <summary> /// <summary>
/// Represents a generic news channel in a guild that can send and receive messages. /// Represents a generic news channel in a guild that can send and receive messages.
/// </summary> /// </summary>
@@ -13,6 +13,5 @@ namespace Discord
/// <returns> /// <returns>
/// The Id of the created webhook. /// The Id of the created webhook.
/// </returns> /// </returns>
Task<ulong> FollowAnnouncementChannelAsync(ulong channelId, RequestOptions options); Task<ulong> FollowAnnouncementChannelAsync(ulong channelId, RequestOptions options = null);
}
} }