Browse Source

Moved IDeletable from InviteMetadata to Invite

pull/97/head
RogueException 9 years ago
parent
commit
6615b852c1
2 changed files with 2 additions and 2 deletions
  1. +1
    -1
      src/Discord.Net/Common/Entities/Invites/IInvite.cs
  2. +1
    -1
      src/Discord.Net/Common/Entities/Invites/IInviteMetadata.cs

+ 1
- 1
src/Discord.Net/Common/Entities/Invites/IInvite.cs View File

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

namespace Discord
{
public interface IInvite : IEntity<string>
public interface IInvite : IEntity<string>, IDeletable
{
/// <summary> Gets the unique identifier for this invite. </summary>
string Code { get; }


+ 1
- 1
src/Discord.Net/Common/Entities/Invites/IInviteMetadata.cs View File

@@ -1,6 +1,6 @@
namespace Discord
{
public interface IInviteMetadata : IDeletable, IInvite
public interface IInviteMetadata : IInvite
{
/// <summary> Returns true if this invite was revoked. </summary>
bool IsRevoked { get; }


Loading…
Cancel
Save