Browse Source

remove redundant IGuildChannel interface from ITextChannel and IVoiceChannel

pull/1004/head
Chris Johnston 8 years ago
parent
commit
3cf417a112
2 changed files with 2 additions and 2 deletions
  1. +1
    -1
      src/Discord.Net.Core/Entities/Channels/ITextChannel.cs
  2. +1
    -1
      src/Discord.Net.Core/Entities/Channels/IVoiceChannel.cs

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

@@ -5,7 +5,7 @@ using System.Threading.Tasks;


namespace Discord namespace Discord
{ {
public interface ITextChannel : IMessageChannel, IMentionable, IGuildChannel, INestedChannel
public interface ITextChannel : IMessageChannel, IMentionable, INestedChannel
{ {
/// <summary> Checks if the channel is NSFW. </summary> /// <summary> Checks if the channel is NSFW. </summary>
bool IsNsfw { get; } bool IsNsfw { get; }


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

@@ -3,7 +3,7 @@ using System.Threading.Tasks;


namespace Discord namespace Discord
{ {
public interface IVoiceChannel : IGuildChannel, IAudioChannel, INestedChannel
public interface IVoiceChannel : INestedChannel, IAudioChannel
{ {
/// <summary> Gets the bitrate, in bits per second, clients in this voice channel are requested to use. </summary> /// <summary> Gets the bitrate, in bits per second, clients in this voice channel are requested to use. </summary>
int Bitrate { get; } int Bitrate { get; }


Loading…
Cancel
Save