Browse Source

Add returns and params docs for SyncPermissionsAsync

pull/1379/head
Still Hsu 6 years ago
parent
commit
5447aa7ad5
No known key found for this signature in database GPG Key ID: C176DD7907FF62A7
1 changed files with 5 additions and 1 deletions
  1. +5
    -1
      src/Discord.Net.Core/Entities/Channels/INestedChannel.cs

+ 5
- 1
src/Discord.Net.Core/Entities/Channels/INestedChannel.cs View File

@@ -26,10 +26,14 @@ namespace Discord
/// representing the parent of this channel; <c>null</c> if none is set. /// representing the parent of this channel; <c>null</c> if none is set.
/// </returns> /// </returns>
Task<ICategoryChannel> GetCategoryAsync(CacheMode mode = CacheMode.AllowDownload, RequestOptions options = null); Task<ICategoryChannel> GetCategoryAsync(CacheMode mode = CacheMode.AllowDownload, RequestOptions options = null);
/// <summary> /// <summary>
/// Syncs the permissions of this nested channel with its parent's. /// Syncs the permissions of this nested channel with its parent's.
/// </summary> /// </summary>
/// <param name="options">The options to be used when sending the request.</param>
/// <returns>
/// A task that represents the asynchronous operation for syncing channel permissions with its parent's.
/// </returns>
Task SyncPermissionsAsync(RequestOptions options = null); Task SyncPermissionsAsync(RequestOptions options = null);


/// <summary> /// <summary>


Loading…
Cancel
Save