Browse Source

Moved IDMChannel/IGuildChannel's IUpdateable to IChannel

pull/108/head
RogueException 9 years ago
parent
commit
d4c2a17516
3 changed files with 3 additions and 3 deletions
  1. +1
    -1
      src/Discord.Net/Entities/Channels/IChannel.cs
  2. +1
    -1
      src/Discord.Net/Entities/Channels/IDMChannel.cs
  3. +1
    -1
      src/Discord.Net/Entities/Channels/IGuildChannel.cs

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

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

namespace Discord
{
public interface IChannel : ISnowflakeEntity
public interface IChannel : ISnowflakeEntity, IUpdateable
{
/// <summary> Gets a collection of all users in this channel. </summary>
Task<IReadOnlyCollection<IUser>> GetUsersAsync();


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

@@ -2,7 +2,7 @@

namespace Discord
{
public interface IDMChannel : IMessageChannel, IUpdateable
public interface IDMChannel : IMessageChannel
{
/// <summary> Gets the recipient of all messages in this channel. </summary>
IUser Recipient { get; }


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

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

namespace Discord
{
public interface IGuildChannel : IChannel, IDeletable, IUpdateable
public interface IGuildChannel : IChannel, IDeletable
{
/// <summary> Gets the name of this channel. </summary>
string Name { get; }


Loading…
Cancel
Save