Browse Source

remove redundant interface implementation

pull/1004/head
Chris Johnston 8 years ago
parent
commit
f6f8576ccd
4 changed files with 4 additions and 4 deletions
  1. +1
    -1
      src/Discord.Net.Rest/Entities/Channels/RestTextChannel.cs
  2. +1
    -1
      src/Discord.Net.Rest/Entities/Channels/RestVoiceChannel.cs
  3. +1
    -1
      src/Discord.Net.WebSocket/Entities/Channels/SocketTextChannel.cs
  4. +1
    -1
      src/Discord.Net.WebSocket/Entities/Channels/SocketVoiceChannel.cs

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

@@ -9,7 +9,7 @@ using Model = Discord.API.Channel;
namespace Discord.Rest namespace Discord.Rest
{ {
[DebuggerDisplay(@"{DebuggerDisplay,nq}")] [DebuggerDisplay(@"{DebuggerDisplay,nq}")]
public class RestTextChannel : RestGuildChannel, IRestMessageChannel, ITextChannel, INestedChannel
public class RestTextChannel : RestGuildChannel, IRestMessageChannel, ITextChannel
{ {
public string Topic { get; private set; } public string Topic { get; private set; }
public ulong? CategoryId { get; private set; } public ulong? CategoryId { get; private set; }


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

@@ -9,7 +9,7 @@ using Model = Discord.API.Channel;
namespace Discord.Rest namespace Discord.Rest
{ {
[DebuggerDisplay(@"{DebuggerDisplay,nq}")] [DebuggerDisplay(@"{DebuggerDisplay,nq}")]
public class RestVoiceChannel : RestGuildChannel, IVoiceChannel, IRestAudioChannel, INestedChannel
public class RestVoiceChannel : RestGuildChannel, IVoiceChannel, IRestAudioChannel
{ {
public int Bitrate { get; private set; } public int Bitrate { get; private set; }
public int? UserLimit { get; private set; } public int? UserLimit { get; private set; }


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

@@ -11,7 +11,7 @@ using Model = Discord.API.Channel;
namespace Discord.WebSocket namespace Discord.WebSocket
{ {
[DebuggerDisplay(@"{DebuggerDisplay,nq}")] [DebuggerDisplay(@"{DebuggerDisplay,nq}")]
public class SocketTextChannel : SocketGuildChannel, ITextChannel, ISocketMessageChannel, INestedChannel
public class SocketTextChannel : SocketGuildChannel, ITextChannel, ISocketMessageChannel
{ {
private readonly MessageCache _messages; private readonly MessageCache _messages;




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

@@ -11,7 +11,7 @@ using Model = Discord.API.Channel;
namespace Discord.WebSocket namespace Discord.WebSocket
{ {
[DebuggerDisplay(@"{DebuggerDisplay,nq}")] [DebuggerDisplay(@"{DebuggerDisplay,nq}")]
public class SocketVoiceChannel : SocketGuildChannel, IVoiceChannel, ISocketAudioChannel, INestedChannel
public class SocketVoiceChannel : SocketGuildChannel, IVoiceChannel, ISocketAudioChannel
{ {
public int Bitrate { get; private set; } public int Bitrate { get; private set; }
public int? UserLimit { get; private set; } public int? UserLimit { get; private set; }


Loading…
Cancel
Save