Browse Source

Add missing documentation inheritance for SyncPermissionsAsync

pull/1218/head
Still Hsu 6 years ago
parent
commit
7aebc17a53
No known key found for this signature in database GPG Key ID: 8601A145FDA95209
4 changed files with 4 additions and 1 deletions
  1. +1
    -0
      src/Discord.Net.Rest/Entities/Channels/RestTextChannel.cs
  2. +1
    -1
      src/Discord.Net.Rest/Entities/Channels/RestVoiceChannel.cs
  3. +1
    -0
      src/Discord.Net.WebSocket/Entities/Channels/SocketTextChannel.cs
  4. +1
    -0
      src/Discord.Net.WebSocket/Entities/Channels/SocketVoiceChannel.cs

+ 1
- 0
src/Discord.Net.Rest/Entities/Channels/RestTextChannel.cs View File

@@ -202,6 +202,7 @@ namespace Discord.Rest
/// </returns>
public Task<ICategoryChannel> GetCategoryAsync(RequestOptions options = null)
=> ChannelHelper.GetCategoryAsync(this, Discord, options);
/// <inheritdoc />
public Task SyncPermissionsAsync(RequestOptions options = null)
=> ChannelHelper.SyncPermissionsAsync(this, Discord, options);



+ 1
- 1
src/Discord.Net.Rest/Entities/Channels/RestVoiceChannel.cs View File

@@ -57,7 +57,7 @@ namespace Discord.Rest
/// </returns>
public Task<ICategoryChannel> GetCategoryAsync(RequestOptions options = null)
=> ChannelHelper.GetCategoryAsync(this, Discord, options);
/// <inheritdoc />
public Task SyncPermissionsAsync(RequestOptions options = null)
=> ChannelHelper.SyncPermissionsAsync(this, Discord, options);


+ 1
- 0
src/Discord.Net.WebSocket/Entities/Channels/SocketTextChannel.cs View File

@@ -32,6 +32,7 @@ namespace Discord.WebSocket
/// </returns>
public ICategoryChannel Category
=> CategoryId.HasValue ? Guild.GetChannel(CategoryId.Value) as ICategoryChannel : null;
/// <inheritdoc />
public Task SyncPermissionsAsync(RequestOptions options = null)
=> ChannelHelper.SyncPermissionsAsync(this, Discord, options);



+ 1
- 0
src/Discord.Net.WebSocket/Entities/Channels/SocketVoiceChannel.cs View File

@@ -30,6 +30,7 @@ namespace Discord.WebSocket
/// </returns>
public ICategoryChannel Category
=> CategoryId.HasValue ? Guild.GetChannel(CategoryId.Value) as ICategoryChannel : null;
/// <inheritdoc />
public Task SyncPermissionsAsync(RequestOptions options = null)
=> ChannelHelper.SyncPermissionsAsync(this, Discord, options);



Loading…
Cancel
Save